Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] How to configure Log Level

Hi Kraus

Thank you for your advice.
I am planning to analyze source codes by Logs.
But I will need to do more efforts for it.

Okamoto

On 2017/01/18 17:18, Kraus Achim (INST/ESY1) wrote:
Hi Okamoto,

so I hope logging is then working well for you.

My experience was, that this only affects the logging output of leshan, the logging message from californium
(e.g. "really exchanged coap messages") are not configured. They must be configured either by "logging.properties"
or a logging bridge must be used somehow. For me it ends up in developing my own LoggingBridge :-).

Mit freundlichen Grüßen / Best regards

Achim Kraus

Bosch Software Innovations GmbH
Communications (INST/ESY1)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn


-----Ursprüngliche Nachricht-----
Von: leshan-dev-bounces@xxxxxxxxxxx [mailto:leshan-dev-bounces@xxxxxxxxxxx] Im Auftrag von Okamoto Toshiaki
Gesendet: Mittwoch, 18. Januar 2017 09:10
An: leshan developer discussions <leshan-dev@xxxxxxxxxxx>
Betreff: Re: [leshan-dev] How to configure Log Level

Hi Hudalla
Thank you for your quick response.
Okamoto
On 2017/01/18 16:20, Hudalla Kai (INST/ESY1) wrote:
leshan uses the slf4j API for logging. The logging implementation used
by the demo server is log4j 2. You can therefore configure log levels
in the log4j2.xml file which is contained in the leshan-server-demo.jar file.

Please refer to the log4j documentation [1] regarding details on the
configuration file format and location.

[1] http://logging.apache.org/log4j/2.x/manual/configuration.html
--
Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn

On Wed, 2017-01-18 at 12:46 +0900, Okamoto Toshiaki wrote:
Hi
I am new to here and thank you to the Nice project.
I would like to know how to configure the Log Level of the
leshan-server-demo.
There are no settings about the Log in the Web UI.

Thanks
Okamoto
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev

_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/leshan-dev
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev




Back to the top