List Info

Thread: turn off logging to stdout.




turn off logging to stdout.
country flaguser name
United States
2007-06-09 14:12:38
I've got a TurboGears project and have tried inserting :

log.screen = False

in the config file but I still see log output on console.

what am I missing?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: turn off logging to stdout.
country flaguser name
United States
2007-06-09 14:34:46
Jesse James wrote:
> I've got a TurboGears project and have tried
inserting:
>     log.screen = False
> in the config file but I still see log output on
console.
> what am I missing?

You're missing the compatibility info for older versions,
which I've just added to the bottom of http://www.cher
rypy.org/wiki/Logging. Sorry about that. Unless you're
using the latest alpha TG code, you're probably using
CherryPy version 2.2, so you want "server.log_to_screen
= False" instead.


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


  
Re: turn off logging to stdout.
country flaguser name
United States
2007-06-11 10:53:35
On Jun 9, 2:34 pm, "Robert Brewer"
<fuman...amor.org> wrote:
> Jesse James wrote:
> > I've got a TurboGears project and have tried
inserting:
> >     log.screen = False
> > in the config file but I still see log output on
console.
> > what am I missing?
>
> You're missing the compatibility info for older
versions, which I've just added to the bottom ofhttp://www.cher
rypy.org/wiki/Logging. Sorry about that. Unless you're
using the latest alpha TG code, you're probably using
CherryPy version 2.2, so you want "server.log_to_screen
= False" instead.
>

Just to cover all the bases, I've got the following in my
config file
(dev.cfg) for TG:
server.log_to_screen=False
server.logToScreen=False
server.log_access_file='c:/Projects/VOR/tg/access.log'
server.logAccessFile='c:/Projects/VOR/tg/access.log'
server.log_file='c:/Projects/VOR/tg/error.log'
server.logFile='c:/Projects/VOR/tg/error.log'

I still see logging to stdout:
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG: Server
parameters:
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.environment: development
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.log_to_screen: False
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:  
server.log_file:
c:/Projects/VOR/tg/error.log
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.log_tracebacks: True
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.log_request_headers: True
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.protocol_version: HTTP/1.0
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.socket_host:
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.socket_port: 8080
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.socket_file:
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.reverse_dns: False
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.socket_queue_size: 5
2007-06-11 10:51:50,921 cherrypy.msg INFO CONFIG:
server.thread_pool: 10
2007-06-11 10:51:51,000 turbogears.visit INFO Visit Tracking
starting
2007-06-11 10:51:51,000 turbogears.visit INFO Visit filter
initialised
2007-06-11 10:51:51,015 turbogears.identity INFO Identity
starting
2007-06-11 10:51:51,015 turbogears.identity.saprovider INFO
Loading:
vor.model.VisitIdentity
2007-06-11 10:51:51,015 turbogears.identity INFO Identity
visit plugin
initialised
2007-06-11 10:51:51,015 turbogears.identity.saprovider INFO
Loading:
vor.model.VisitIdentity
2007-06-11 10:51:52,092 cherrypy.msg INFO HTTP: Serving HTTP
on
http://localhost:8080/
2007-06-11 10:51:55,467 turbogears.identity INFO Identity
is
available...
127.0.0.1 - - "GET
/static/work/ManageAccount.html?account=yippy HTTP/
1.1" 304 - "" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-U
S; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
2007-06-11 10:51:55,546 turbogears.identity INFO Identity
is
available...
127.0.0.1 - - "GET /static/work/AC_OETags.js
HTTP/1.1" 304 - "http://
localhost:8080/static/work/ManageAccount.html?account=yippy&
quot;
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.4) Gecko/
20070515 Firefox/2.0.0.4"
2007-06-11 10:51:55,578 turbogears.identity INFO Identity
is
available...
127.0.0.1 - - "GET /static/work/history.js
HTTP/1.1" 304 - "http://
localhost:8080/static/work/ManageAccount.html?account=yippy&
quot; "M
ozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4)
Gecko/
20070515 Firefox/2.0.0.4"
2007-06-11 10:51:55,608 turbogears.identity INFO Identity
is
available...
127.0.0.1 - - "GET /static/work/js/script.js
HTTP/1.1" 304 - "http://
localhost:8080/static/work/ManageAccount.html?account=yippy&
quot;
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.4) Gecko/
20070515 Firefox/2.0.0.4"
2007-06-11 10:51:55,717 turbogears.identity INFO Identity
is
available...
127.0.0.1 - - "GET /static/work/ManageAccount.swf
HTTP/1.1" 304 -
"http://localhost:8080/static/work/ManageAccount.h
tml?account=yi
ppy" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4"
127.0.0.1 - - "POST /upload/loadConfig HTTP/1.1"
200 10554 "http://
localhost:8080/static/work/ManageAccount.swf"
"Mozilla/5.0 (Win
dows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515
Firefox/
2.0.0.4"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: turn off logging to stdout.
country flaguser name
United States
2007-06-12 11:00:28
ok, my bad. that's TG logging, not CP. sorry...thanks for
your help.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )