According to the syslog(3) manpage, the first parameter for openlog() sets a prefix for log messages, not a filename.
You can use a facility like LOG_LOCAL0 to flag your output and then configure syslogd using /etc/syslog.conf to send those logs to the file of your desire.