Changeset 46 for trunk/daemon/togad.py


Ignore:
Timestamp:
04/06/05 14:25:43 (19 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

Added extra debug msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r45 r46  
    2323# 7  = daemon threading
    2424#
    25 DEBUG_LEVEL = 8
     25DEBUG_LEVEL = 7
    2626
    2727# Where is the gmetad.conf located
     
    124124                self.config = config
    125125                self.clusters = { }
     126                debug_msg( 0, printTime() + ' Gathering cluster timeserials and RRD last updates..' )
    126127                self.gatherClusters()
     128                debug_msg( 0, printTime() + ' Done gathering timeserials and last updates.' )
    127129
    128130        def gatherClusters( self ):
     
    819821                sys.stderr.write( msg + '\n' )
    820822
     823def printTime( ):
     824        "Print current time in human readable format"
     825
     826        return time.strftime("%a %d %b %Y %H:%M:%S")
     827
    821828# Let's go
    822829if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.