[logback-user] Logback not rolling

ceki ceki at qos.ch
Wed Jun 5 22:21:34 CEST 2013


On 05.06.2013 22:15, Steve Cohen wrote:

> 1) this is Swing app running under javaw so there is no console.  and
> it's not a web app so no easy way to hook up the servlet.
>
> 2) Corporate security prevents me from having access to production
> machines and I have a low degree of confidence that the environment I do
> have access to is similar to that of production.
>
> 3) and so, the only thing that could help me would be something like the
> OnConsoleStatusListener that wrote to a file instead of a console.
>
> Does anything like that exist?

It's pretty trivial to write a status listener which sends its output
to a file. Please have a look at [1] and [2].

[1] http://logback.qos.ch/manual/configuration.html#statusListener
[2] http://logback.qos.ch/manual/configuration.html#logback.statusLC


-- 
Ceki
65% f statistics are made up on the spot


More information about the Logback-user mailing list