Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMERO.server should log to stdout/stderr for docker logs #9

Open
manics opened this issue Oct 25, 2017 · 3 comments
Open

OMERO.server should log to stdout/stderr for docker logs #9

manics opened this issue Oct 25, 2017 · 3 comments

Comments

@manics
Copy link
Member

manics commented Oct 25, 2017

OMERO.server writes its logs to files under /opt/omero/web/OMERO.server/var/log/. It should write to stdout/stderr instead so they can be seen by docker logs

@joshmoore
Copy link
Member

All of them? If so, prefix with [Blitz-0], [PixelData-0], etc?

@manics
Copy link
Member Author

manics commented Oct 25, 2017

Yes, unless they're run as separate containers. Presumably this is straightforward for someone who understands Java logback? IIRC the Python servers are more complicated due to some mangling of file descriptors.

@joshmoore
Copy link
Member

Yeah, I don't think Java is much of an issue. Probably one small-ish logback file per server. For Python, we likely need a code change to allow modifying https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroPy/src/omero/util/__init__.py#L79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants