Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11020 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

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

Now that the workflow is in place, important to access more data. Info currently in the file not very useful for debugging.

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

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)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67812 sec.)

We're Hiring!