[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Logger set to 'maposmatic' in ocitysmap?

From: Maxime Petazzoni
Subject: Re: [Maposmatic-dev] Logger set to 'maposmatic' in ocitysmap?
Date: Tue, 2 Mar 2010 15:43:11 +0100
User-agent: Mutt/1.5.20 (2009-06-14)


* David MENTRE <address@hidden> [2010-03-02 15:29:00]:

> Could you explain this patch?
> It seems quite strange to map. At least, your are fixing an artefact
> and not the issue underlying cause.

With the old daemon, both daemon and ocitysmap messages used the
"ocitysmap" logger name (for the daemon, defined in the config, and for
ocitysmap defined in

The new daemon uses "maposmatic" as the logger name. To make sure we
still get OCitySMap messages in the log, I had to change to "maposmatic"
in as well. Ideally, should look into
the environment for the LOG_TARGET and use it if present, otherwise
default to something sensible. But for now I went for the quick,
efficient fix.

Feel free to improve,
- Maxime
Maxime Petazzoni <>
 ``One by one, the penguins took away my sanity.''
Linux kernel and software developer at MontaVista Software

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]