Replies: 1 comment 7 replies
-
I added this code to find out whats happening and the file transport doesnt seem to be present when initialised from vite:
which gives ie no filetransport there! |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cant seem to find where electron-log writes the log file when an electron application is lauched using vite. (im using vutron as my scaffold)
I looked in my %USERPROFILE%\AppData\Roaming\ as suggested by the documentation (which in my case is on a network drive) and its not there. What is the correct way to expose the output filename?
However when the app is run outside of vite (in vanilla node) the log appears in the right place.
To find out where the file is written to, I modified the getFile function in main\transports\file\index.js file and it spat out the location
when running from vite, this code doesnt seem to get executed.
any help appreciated
Beta Was this translation helpful? Give feedback.
All reactions