c++ - Redirect std::cout to syslog on linux -


my code contains lot of std::cout.
got call sysadmin telling me filling /var/log/messages folder , syslog filesystem. but, user id not have access either /var, requires root permissions writing, don't use syslog.
assumption somehow, linux must configured redirect cout syslog server.

my question settings in linux, makes above feasible (i.e. redirect cout syslog)?

if pipe output of program logger, program send output syslog. see answer this question.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -