Auto-create logs-directory #1213
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1213
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Enabled file logs, got this:
I am expecting the default directory to work ;)
Is this an issue due to
os.MkDir
instead ofos.MkDirAll
?the log directory should be autocreated.
I think we don't create the directory at all.
PRs welcome!
Yes, the directory is created at
f065dcf4ad/pkg/log/logging.go (L60)
but as I said, it should better be
MkdirAll
. Iwill addadded this to my PR #1606 concerning the log package.