On Apr 28, 9:22 am, Peter Otten <__pete...@web.de> wrote:
> Vinay Sajip wrote:
> > On Apr 27, 5:41 pm, Peter Otten <__pete...@web.de> wrote:
>
> >> The Problem is that as of Python 2.7logging.LogRecord has become a
> >> newstyle class which is pickled/unpickled differently. I don't know if
> >> the
Vinay Sajip wrote:
> On Apr 27, 5:41 pm, Peter Otten <__pete...@web.de> wrote:
>
>> The Problem is that as of Python 2.7logging.LogRecord has become a
>> newstyle class which is pickled/unpickled differently. I don't know if
>> there is an official way to do the conversion, but here's what I've
>
On Apr 27, 5:41 pm, Peter Otten <__pete...@web.de> wrote:
> The Problem is that as of Python 2.7logging.LogRecord has become a newstyle
> class which is pickled/unpickled differently. I don't know if there is an
> official way to do the conversion, but here's what I've hacked up.
> The script can
ivdn...@gmail.com wrote:
> I have a service that runs in python 2.6.4. This service sends
> LogRecords to a log monitoring app on my workstation running python
> 2.7. The LogRecord class is derived:
>
> class LogRecord(logging.LogRecord):
>
> def __init__(self, name, level, fn, lno, user, ho
Hello all,
I have a service that runs in python 2.6.4. This service sends
LogRecords to a log monitoring app on my workstation running python
2.7. The LogRecord class is derived:
class LogRecord(logging.LogRecord):
def __init__(self, name, level, fn, lno, user, hostname, msg,
args, exc_info,