Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

contrib/tracelor.py (in trunk)

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


alvaro at gnu

Jun 21, 2008, 1:41 AM

Post #1 of 1 (202 views)
Permalink
contrib/tracelor.py (in trunk)

Hi there!

I suppose that you guys already know about the Cherokee tracing
facility; right? If you compile it with --enable-trace, you can use
the CHEROKEE_TRACE environment variable (or cherokee-tweak) to trace
what is going on inside the server.

By default the environment variable contains a list of comma separated
words, that point the server which parts and actions are interesting
for your trace. Besides, there are a few special cases:

- all: Activates all the trace points
- time: Prints the time at the beginning of the line
- thread: Prints the thread ID

And here is where contrib/tracelor.py comes into scene. It is a little
script that helps to read the tracing logs by colorizing the thread
references and highlighting the words passed through the command line.

For instance, the attached image is a capture of the output of:

CHEROKEE_TRACE=thread,all ./cherokee | ../contrib/tracelor.py iocache
Attachments: tracelor.gif (20.8 KB)

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.