I can't find documentation in the book for this, either by searching
for logging.conf, logger.app or web2py.app. Maybe I'm lazy or
ignorant. But I love the usability consulting part of my job: anytime
something isn't extremely easy for me to find on a website, I can
claim that it's not my fault,
On Feb 13, 2011, at 5:41 AM, Michael McGinnis wrote:
I can't find documentation in the book for this, either by searching
for logging.conf, logger.app or web2py.app. Maybe I'm lazy or
ignorant. But I love the usability consulting part of my job: anytime
something isn't extremely easy for me
What is current recommendation for app logging?
On Feb 12, 2011, at 9:44 PM, pbreit wrote:
What is current recommendation for app logging?
You can start by copying logging.example.conf to logging.conf, and then editing
it to suit your requirements.
Either log with web2py.app (logger_app) or create a new logger specific to your
own
Hi Iceberg
But I would recommend you use a later version, quoted already in
Omicron's post. It uses RotatingFileHandler to avoid unstoppable log
file size
Thanks for providing it. I can see the sense of your suggestion; however,
I want the logging to be to the standard syslog files (which are
It may go in tools. What do other people think?
On Apr 29, 8:37 am, Keith Edmunds k...@midnighthax.com wrote:
Hi Iceberg
But I would recommend you use a later version, quoted already in
Omicron's post. It uses RotatingFileHandler to avoid unstoppable log
file size
Thanks for providing
On Apr 29, 2010, at 7:22 AM, mdipierro wrote:
It may go in tools. What do other people think?
Logging is important enough for that, yes.
WRT Keith's comment below: Python logging offers a rich collection of logging
mechanisms, one of which is syslog, which in turn offers a rich collection of
I think too that logging is important.
And I vote for syslogging :)
On ápr. 29, 16:22, mdipierro mdipie...@cs.depaul.edu wrote:
It may go in tools. What do other people think?
On Apr 29, 8:37 am, Keith Edmunds k...@midnighthax.com wrote:
Hi Iceberg
But I would recommend you use a
The use of python logging modules inside web2py will ideally allow people to
use syslog or any other logging back end provided by this module.
It would be very nice if web2py integration would allow logging for GAE
(into database or whatever mechanism is provided by GAE..).
Perhaps we should have
+1 for a enterprise logging system that you can configure the backend :)
--
Thadeus
On Thu, Apr 29, 2010 at 10:52 AM, Mathieu Clabaut
mathieu.clab...@gmail.com wrote:
The use of python logging modules inside web2py will ideally allow people to
use syslog or any other logging back end
I happened to be the creator of that code snippet. :-) Glad to know
that it helps you.
But I would recommend you use a later version, quoted already in
Omicron's post. It uses RotatingFileHandler to avoid unstoppable log
file size, and it serves the log by
Can it be moved to web2pyslices?
On Apr 28, 1:57 pm, Iceberg iceb...@21cn.com wrote:
I happened to be the creator of that code snippet. :-) Glad to know
that it helps you.
But I would recommend you use a later version, quoted already in
Omicron's post. It uses RotatingFileHandler to avoid
I'd be interested in a step by step guide to setting up this kind of
logging. I'm new to web2py and python and I think it would help my
learning.
I already get some good info by monitoring the http log file with the
free Kiwi log viewer (on Windows) which tails the file.
Could someone explain
In 'models' folder, i create the file named '0.py' like this :
def _init_log():
import os, logging, logging.handlers
logger = logging.getLogger(request.application)
logger.setLevel(logging.DEBUG)
handler =
On Tue, 27 Apr 2010 09:31:50 -0700 (PDT), minkto...@gmail.com said:
I'd be interested in a step by step guide to setting up this kind of
logging.
I found some older posts that helped in the end. I now have a
modules/logging.py file that looks like:
def _init_log():
From
15 matches
Mail list logo