When starting my pylons app via the following Windows Service script:
http://github.com/RuudBurger/Movie-Manager/blob/master/WindowsService.py

Where
"s.run(['--log-file', 'logs/MovieManager.log', self.iniFile])" (this
is just a quick fix for this problem)
is
"s.run([self.iniFile])"

It doesn't seem to load the logging configurations. (http://github.com/
RuudBurger/Movie-Manager/blob/master/config.ini_tmpl)
[handler_accesslog]
class = handlers.RotatingFileHandler
args = ('logs/MovieManager.log','a', 10000, 4)
level = INFO
formatter = generic

It creates the file in logs/MovieManager.log, but the files is empty.
When using "--log-file logs/MovieManager.log" it logs fine, but
doesn't do the RotatingFileHandler.

What do I need to add in my WindowsService.py for it to load the full
logging configurations?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to