Page 1 of 1

Setting OMERO_LOGS has no effect

PostPosted: Tue Jan 28, 2014 3:55 pm
by Sethur
Hi,

we're on OME 5.0.0rc1 and I tried changing the logs directory for both OMERO.server and OMERO.web to /var/log/omero (with the proper permissions) instead of $OMERO_PREFIX/var/log.

I did this by editing etc/grid/default.xml and setting OMERO_LOGS to "/var/log/omero/" but this settings seems to be ignored. When I restarted the server, my logs keep ending up in the default location, i.e. $OMERO_PREFIX/var/log

Any ideas on this?

Thanks in advance!

Re: Setting OMERO_LOGS has no effect

PostPosted: Tue Jan 28, 2014 4:07 pm
by jmoore
Hi Tristan,

when I do this, I get a log "split": the large Java logs do all go to the new location:
Code: Select all
/opt/ome4/dist$ ls /tmp/var/log
Blitz-0.log  Indexer-0.log  PixelData-0.log


but the Python logs stay in the old location:
Code: Select all
/opt/ome4/dist$ less var/log/
DropBox.log        master.err         MonitorServer.log  Tables-0.log
FileServer.log     master.out         Processor-0.log   


I've filed https://trac.openmicroscopy.org.uk/ome/ticket/11943 to look into having them all behave properly.

Thanks for pointing this out.
~Josh.

Re: Setting OMERO_LOGS has no effect

PostPosted: Wed Jan 29, 2014 11:21 am
by Sethur
Hmm, that's weird, for me, there were no logs at all at the given/new location. Are you on 5.0.0rc1?

Re: Setting OMERO_LOGS has no effect

PostPosted: Wed Jan 29, 2014 11:25 am
by jmoore
I was testing the `dev_5_0` branch which will soon become `5.0.0`. I could certainly re-try with the 5.0.0-rc1 tag though.

Cheers,
~Josh