We're Hiring!

Setting OMERO_LOGS has no effect

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Setting OMERO_LOGS has no effect

Postby Sethur » Tue Jan 28, 2014 3:55 pm

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!
Sethur
 
Posts: 112
Joined: Thu Jan 16, 2014 11:34 pm

Re: Setting OMERO_LOGS has no effect

Postby jmoore » Tue Jan 28, 2014 4:07 pm

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.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Setting OMERO_LOGS has no effect

Postby Sethur » Wed Jan 29, 2014 11:21 am

Hmm, that's weird, for me, there were no logs at all at the given/new location. Are you on 5.0.0rc1?
Sethur
 
Posts: 112
Joined: Thu Jan 16, 2014 11:34 pm

Re: Setting OMERO_LOGS has no effect

Postby jmoore » Wed Jan 29, 2014 11:25 am

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest