I'm building python-ldap and need to change values of library and
include paths that are in the setup.cfg file. This is an automated
build (using "buildit") so I'd prefer not to have edit the .cfg by hand,
with sed, or even with buildit's Substitute().
I'd like to be able to do something like I'd
Vinay Sajip <[EMAIL PROTECTED]> writes:
> The default handler is created because you are calling the convenience
> functions of the logging package: logging.error, etc. If you don't
> want the default handler to be created, either
>
> (a) Configure the logging system yourself before any logging ca
I am setting up handlers to log DEBUG and above to a rotating file and
ERROR and above to console. But if any of my code calls a logger
(e.g., logging.error("foo")) before I setup my handlers, the logging
system will create a default logger that *also* emits logs, which I
can't seem to get rid of.
Anyone doing python application authentication using RSA SecurID
tokens? We have a Pylons app that needs this.
I've written code against RSA's API and found the docs terrible and
the libraries painful to use. RSA has a RADIUS server fronting their
server so I expect I could use that instead,
"Vinay Sajip" <[EMAIL PROTECTED]> writes:
> It might. I assume you have a long-running process which runs past
> midnight - that's the scenario that TimedRotatingFileHandler is meant
> for. Can you post a complete minimal example which shows the problem?
> Rotating should happen when the logging
I set this up 3 days ago and have not seen any of the logs I've
created this way being rotated. I expected them to rotate every
midnight. I'm calling the code that uses this logger many times, each
a separate run, if that matters.
Am I doing something stupid? I can't find anything on google and
[Disclaimer: I'm a python newbie.]
I'm using rcslib.py to massage an RCS repo. The code uses a
"name_rev" object which acts two ways:
1. if it's a string, represents the head version of the file
2. if a tuple (name, rev) represents a name and a revision
Works fine if I use it like:
checkout(