Package omero :: Package install :: Module logs_library
[hide private]
[frames] | no frames]

Module logs_library

source code

Function for parsing OMERO log files. The format expected is defined for Python in omero.util.configure_logging.

Copyright 2010 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt

:author: Josh Moore <josh@glencoesoftware.com>

Classes [hide private]
  log_line
2009-04-09 15:11:58,029 INFO [ ome.services.util.ServiceHandler] (l.Server-6) Meth: interface ome.api.IQuery.findByQuery 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
  log_watcher
  allthreads_watcher
  saveAndReturnObject_watcher
  MyLine
Functions [hide private]
 
parse_time(value)
parse the time format used by log4j into seconds (float) since the epoch
source code
 
plot_threads(watcher, all_colors=["blue","red","yellow","green","pink","purple"]) source code

Imports: np, plt, lines, mtransforms, mtext, mktime, strptime, fileinput, logging, sys, os, re