Thanks a lot. 
I will redirect the log messages to another directory under /overlay where I have space from USB storage(extroot), so I think that it shouldn't be a problem.

Best,
Theodoros


On Thu, Feb 13, 2014 at 12:58 PM, Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de> wrote:
Hello Theodoros.

Am 13.02.2014 12:47, schrieb Theodoros Bourchas:
> I would like to store log messages of the ibrdtn daemon.
> In the configuration file (/etc/config/ibrdtn) there is the
> /tmp/ibrdtn.log,
> but only INFO type of log messages appear there.
>
> I would like to store NOTICE type of log messages as they appear ,
>  when I execute "dtnd -v" command.
> Is there any way to do this?
> Or how can I have the sequence of bundle events stored in a file?

There is no standard approach to do that. You have to hack the script
which starts IBR-DTN.
Open the file /usr/sbin/dtnd-safety-wrapper.sh and change the line:

        echo "${DTND} ${DEBUG_ARGS} -c ${TMPCONF} ${LOGGING}" | /bin/sh

to:

        echo "${DTND} ${DEBUG_ARGS} -v -c ${TMPCONF} ${LOGGING}" | /bin/sh

That will activate the logging of NOTICE message.

To explain why "-v" is disabled by default, the logging with NOTICE
messages leads to a large amount of data, which is not available on all
devices. Thus, extended logging is not recommended on OpenWrt.

Kind regards,
Johannes Morgenroth

--
Johannes Morgenroth     Institut fuer Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3249                           Muehlenpfordtstrasse 23
Fax.: +49-531-391-5936      TU Braunschweig         D-38106 Braunschweig