TechieGuy12/PlexServerAutoUpdater

Configurable log location

phantomtypist opened this issue · 3 comments

How would you feel about accepting a PR to allow the log location to be configured? I was thinking by default the behavior stays the same, but if a path is supplied via CLI it would use that (or maybe via app.config file appSetting, etc.) I figure providing the argument via CLI will probably be easier for the non-programmer audience to use.

Go ahead and make the PR. I think that would be a good option to provide.

The parameter would be easiest, although a config file would also be a good option for those that run the updater from the command line manually on a regular basis.

BTW, aside from a configurable logfile location, it would be good to also add to the readme.md the default name and location of the logfile.

I'm a new user and after trying various %appdata% folders, I tried %temp% and found plex-updater.txt :)

I will update the readme.md to note the default location of the log file.