Task #11020 (closed)
Bug: Log file not much data
Reported by: | jburel | Owned by: | bpindelski |
---|---|---|---|
Priority: | critical | Milestone: | 5.0.0-beta1 |
Component: | Import | Version: | n.a. |
Keywords: | n.a. | Cc: | ux@…, fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | FS Demo 4.3 |
Description (last modified by jburel)
Currently the log file does not have much information which makes the view/submit of/ the log file a bit pointless.
This ticket should only cover the relevant Bio-Formats information e.g. "Detector not valid", "missing library".
Change History (8)
comment:1 Changed 11 years ago by jburel
- Sprint changed from FS demo 4.x to FS Demo 4.3
comment:2 Changed 11 years ago by jburel
- Description modified (diff)
comment:3 Changed 11 years ago by bpindelski
- Owner set to bpindelski
comment:4 Changed 11 years ago by jamoore
There was a recent forum thread regarding Bio-Formats logging: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-May/003756.html
I had seen similar things in the server log, not from import, but from rendering of the image. Melissa's suggestion was to lower their logging levels in logback.xml. If possible, then, it would be good to have Bio-Formats set up with the current logback.xml settings *but only in the import log files*, and to have Bio-Formats quieted for the rest of the server logs (possibly ERROR or above). This might need some more tweaking later, but it would be a good start.
ome.formats or ome.io or omero.* would also be good to have in the import log file.
comment:5 Changed 11 years ago by bpindelski
After debugging and looking at the code, I can't currently come up with an easy solution to the issue in this ticket. logback.xml makes use of the fileset parameter used for identifying the output log file name. We don't have an easy option of passing this string around and we definitely can't pass it to PixelsService.java. Adding
<logger name="ome.formats"> <level value="DEBUG"/> <appender-ref ref="SIFT"/> </logger> <logger name="loci.formats"> <level value="DEBUG"/> <appender-ref ref="SIFT"/> </logger> <logger name="ome.io"> <level value="DEBUG"/> <appender-ref ref="SIFT"/> </logger>
to logback.xml improves the log file a bit, but not much. There might be a possibility of piping the general output that lands in Blitz-*.log, but that is not a trivial task - it might involve coding around the SiftingAppender.
comment:6 Changed 11 years ago by bpindelski
Initial work done on https://github.com/openmicroscopy/openmicroscopy/pull/1251. Closing.
comment:7 Changed 11 years ago by bpindelski
- Resolution set to fixed
- Status changed from new to closed
comment:8 Changed 11 years ago by Josh Moore <josh@…>
(In [605db3f1cd128f4ed317cdc670a6190f0055a976/ome.git] on branch develop) Merge pull request #1251 from bpindelski/11020-log-file
Improve the logging during image import (see #11020)
Now that the workflow is in place, important to access more data. Info currently in the file not very useful for debugging.