HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
441 stars 77 forks source link

Have TPG set up log file automatically #26

Closed fluffynukeit closed 11 years ago

fluffynukeit commented 11 years ago

When I run TPG, I get a warning as soon as I start it up that access and error logs will be written to std error. I have been unsuccessful in identifying the path where I need to put the log files to get TPG (Snap) to use them. I've tried a few, but each time I get the same notice when I start my program.

I think TPG should create these files if they don't exist so that logging never encounters this issue. Also nice would be allowing the user to configure the path used for the log files.

HeinrichApfelmus commented 11 years ago

You can now specify a logging method in the configuration. The default method is to log on stderr. The syntax for specifying a configuration has changed a little