Hi

anyone has any ideas???

On Oct 28, 8:34 pm, rajasekhar911 <[email protected]> wrote:
> Hi ,
>
> my logger configuration is given below. i am trying to rotate the
> paster.log.
> the issue is some of the stacktraces are not printed in paster.log.
> my application is multithreaded , so it may be possible that multiple
> threads are
> trying to write .
>
> what is the best way to avoid this and make the paster.log rotating ?
> and where does it say that the print / (stdout) statements should go
> into paster.log
>
> [logger_root]
> level = WARN
> handlers = paster
> formatter = generic
>
> [logger_tgi18n]
> level = WARN
> handlers = rotating
> qualname = tg.i18n
>
> [logger_test]
> level = DEBUG
> handlers = rotating
> qualname = test
>
> [logger_HA]
> level = INFO
> handlers = rotating
> qualname = HA
>
> [logger_sqlalchemy]
> level = WARN
> handlers = rotating
> qualname = sqlalchemy.engine
>
> # A logger for authentication, identification and authorization --
> this is
> # repoze.who and repoze.what:
> [logger_auth]
> level = WARN
> handlers = rotating
> qualname = auth
>
> # If you create additional handlers, add them as a key to [handlers]
> [handler_console]
> class = StreamHandler
> args = (sys.stderr,)
> level = NOTSET
> formatter = generic
>
> # Rotating file handler that creates a log file named logger.log,
> backs up to 5
> [handler_rotating]
> class = handlers.RotatingFileHandler
> args = ('logger.log','a', 1000000, 5)
> #level = DEBUG
> formatter = generic
>
> [handler_paster]
> class = handlers.RotatingFileHandler
> args = ('paster.log', 'a', 1000000, 5)
> level = NOTSET
> formatter = generic
>
> thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to