i have got a c code running on a unix os.
i have also personal log files. example a.log
in my program i want to write some of my logs to unix (var/log/syslog) and some to a.log
something like this
can anyone help me , it should be a c program