[ome-users] force log rotate

Andreas Mueller Andreas.Mueller at Biologie.Uni-Osnabrueck.DE
Wed Jan 30 13:51:13 GMT 2019


  Hi Josh,

  thanks for that  (it doesn't work, but no matter)
  I can simply move all log-files to another directory or do
  some tricks with the command 'logrotate'

  Andreas

On 28.01.19 12:26, Josh Moore wrote:
> On Fri, Jan 25, 2019 at 3:48 PM Andreas Mueller
> <Andreas.Mueller at biologie.uni-osnabrueck.de> wrote:
> >
> >   Hi Josh,
> 
> Hi Andreas,
> 
> 
> >   only to make new errors easier to recognize ..
> >   (I know there are other tools to handle this, but it would be nice)
> 
> Understood. Reading around a bit (e.g.
> https://stackoverflow.com/questions/30374476/logback-manually-call-rollover)
> one solution I can imagine is to introduce a trigger which forces the
> rollover, e.g. when the sysadmin does `touch var/log/rollover`
> 
> ~J
> 
> 
> 
> >   have a nice weekend and hope to see you soon
> >   Andreas
> >
> > On 25.01.19 14:27, Josh Moore wrote:
> > > Hi Andreas,
> > >
> > > On Thu, Jan 24, 2019 at 12:12 PM Andreas Mueller
> > > <Andreas.Mueller at biologie.uni-osnabrueck.de> wrote:
> > > >
> > > >   is there a command like
> > > >
> > > >   bin/omero force log_rotate
> > >
> > > Not currently, no. But it's a generally good idea :)
> > >
> > >
> > > >   to bring me fresh new empty logfiles under var/log ?
> > >
> > > What are you currently trying to accomplish? Just to save space?
> > > Integrate with some logging?
> > >
> > > The logging is made slightly complicated by the fact that two
> > > different logging systems are involved: Python's `logging` and Java's
> > > `logback`. Regardless, I imagine we can come up with something.
> > >
> > >
> > > >   best regards
> > > >   Andreas
> > >
> > > ~J.
> > > _______________________________________________
> > > ome-users mailing list
> > > ome-users at lists.openmicroscopy.org.uk
> > > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
> > _______________________________________________
> > ome-users mailing list
> > ome-users at lists.openmicroscopy.org.uk
> > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


More information about the ome-users mailing list