NIS log: how to show syslog colored

in case you avoid to output NIS log to file,
i.e. by going to in the package/nis dir
and setting logging only to console

handlers = java.util.logging.ConsoleHandler

then you have to read log by rsyslog files, possibly loosing colors.
Here is a raugh command that looks like to work for 033 011 escapes…

sudo tail -f /var/log/daemon.log |sed -u ‘s/#033/\o033/g’|sed -u ‘s/#011/\o011/g’