Product
|
Planning
|
Teams
|
Developers
|
Notes
E
dit
A
ttach
Wiki Help
r2 - 01 Aug 2006 - 11:49:15 -
AshkanSoltani
You are here:
OSAF
>
Journal Web
>
ContributorNotes
>
AshkanSoltani
>
ChandlerInstrumentationClassNotes
Meta Instrumentation Class
system info
username (entered by users or pulled from system?)
system ip?
log_version method
logfilename = username+logversionmethod
logfile path? (profileDir + logfilename)
logfile setup
function to setup the instrumentation logfile
open the logfile and create the handler
print to it
close the logfile?
http://docs.python.org/lib/module-logging.html
log event
function that takes a blockEvent
depending on the type of blockEvent, it knows what to print out
do i have access to Block.inSideRecursiveCall here or do i need it as an argument?
logfile upload
function to uplaod the logfile
call logfilerotate
scan logfile queue for files that havent been uplaoded
call logfile upload (using twisted or ??) * delete the old logfile if successful
logfile rotate
function to rotate the logfile?
names the old logfile upload-instrumentation-username-logfile revision version
gzip's the logfile?
creates the new ones (call logfile setup?)
questions:
do i need to open/close the logfile after every write?
where do i put this stuff in the code
what about the inSideRecursiveCall piece.. that has to live in Block.py right?
E
dit
|
W
YSIWYG
|
A
ttach
|
P
rintable
|
R
aw View
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r2
<
r1
|
M
ore topic actions
Log In
or
Register
chandlerproject.org
VISION
TOUR
Download Desktop
Get a Hub Account
Get Chandler Server
FAQ
Get Started
Blog
Mailing Lists
Chat on IRC
Report a Bug
Get Involved
OSAF Community
About OSAF
Journal Wiki Changes
Open Source Applications Foundation
Dansk
Deutsch
English
Español
Finnis
Français
Italiano
Nederlands
Polski
Português
Svenska
简体中文
繁體中文
Except where otherwise noted, this site and its content are licensed by OSAF under an
Creative Commons License, Attribution Only 3.0
.
See
list of page contributors
for attributions.