jeanparpaillon / erlang-dbus

Erlang DBUS implementation (forked from unmaintained erlang-dbus)
Apache License 2.0
52 stars 22 forks source link

disable logging #26

Closed slashmili closed 8 years ago

slashmili commented 8 years ago

Hi there,

I have a silly question, how can I disable logging in this project?

Is it possible to add an option to to main app and configure the log level?

jeanparpaillon commented 8 years ago

dbus is using regular erlang logger, as you can find here: https://github.com/lizenn/erlang-dbus/blob/master/include/dbus.hrl

I have never tried to disable specific logging but you can find documentation here: http://erlang.org/doc/system_principles/error_logging.html

slashmili commented 8 years ago

Thanks, I'll take a look at the docs