Paste will automatically interpret your ini file as a logging module config file if the "loggers" key is present. See the "Basic Logging Configuration" section at <http://wiki.pylonshq.com/display/pylonsdocs/Logging>. The example in that section sends all logging to stderr, which seems to be what you want, modulo stderr. Last I checked there wasn't any mention of this in the Paste docs, but I may have just overlooked it.
On Wed, Jul 23, 2008 at 10:08 AM, Michael Bayer <[EMAIL PROTECTED]> wrote: > In this case the executable in question is "rotatelogs". Two ways > this could be achieved would be: > > a. if paster supported a "stdout" option for logging. Currently if > you dont specify a --log-file option, it goes straight to "paster.log". > > b. if the --log-file option supported pipes, such as: > > paster serve --daemon --log-file "| rotatelogs ./logs/mylog.txt 86400" > > c. im missing something completely obvious ? (very common) > > _______________________________________________ > Paste-users mailing list > [email protected] > http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users > -- Gary http://blog.extracheese.org _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
