I run my site with apache, mod_wsgi and TurboGears
[[[access_out]]]
level='INFO'
class='FileHandler'
formatter='full_content'
args="('%(top_level_dir)s/../logs/info.log', 'a+')"
This is the configure of logging file.
There is something trouble me.
I found that this log file grows fast.
It was filled up with something like this.
2008-01-25 11:03:40,173 turbogears.access INFO - - "GET /static/
dp.SyntaxHighlighter/Scripts/shBrushDelphi.js HTTP/1.1" 200 1721
"http://victorlin.serveftp.org/programming/article/?article_id=2"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11"
2008-01-25 11:03:40,188 cherrypy.msg INFO : Page handler: "The path '/
static/dp.SyntaxHighlighter/Scripts/shBrushJScript.js' was not found."
Traceback (most recent call last):
File "c:\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy
\filters\__init__.py", line 145, in applyFilters
method()
File "c:\python25\lib\site-packages\TurboGears-1.0.4.2-py2.5.egg
\turbogears\startup.py", line 141, in on_start_resource
raise cherrypy.NotFound(path)
NotFound: 404
2008-01-25 11:03:40,188 turbogears.access INFO - - "GET /static/
dp.SyntaxHighlighter/Scripts/shBrushJScript.js HTTP/1.1" 200 1067
"http://victorlin.serveftp.org/programming/article/?article_id=2"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11"
2008-01-25 11:03:40,204 cherrypy.msg INFO : Page handler: "The path '/
static/dp.SyntaxHighlighter/Scripts/shBrushPython.js' was not found."
Traceback (most recent call last):
File "c:\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy
\filters\__init__.py", line 145, in applyFilters
method()
File "c:\python25\lib\site-packages\TurboGears-1.0.4.2-py2.5.egg
\turbogears\startup.py", line 141, in on_start_resource
raise cherrypy.NotFound(path)
NotFound: 404
But I did not find any thing wrong when I am browsing my web-site.
These file exist. Why TurboGears log say NotFound?
Why this strange error happened?
How to avoid this message be logged?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---