Skip to content

How do I get the path to the current log file? #266

Answered by megahertz
jjeff asked this question in Q&A
Discussion options

You must be logged in to vote

By default, there are many log files for different process, so I would prefer shell.openPath(path.dirname(log.transports.file.getFile().path))

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jjeff
Comment options

Answer selected by jjeff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants