I think, since from your question I can't argue the system settings you are operating in,
a universal way to find files used by a process can do the trick.
Try using lsof -p <PID_OF_APACHE_DAEMON>
.
You can retrieve the PID in a number of ways, one can be looking at netstat -tlnop output,
another is using lsof -i, and so on.
This is a POC that can work:
lsof -p $(lsof -i :80 | head -2 | tail -1 | awk '{print $2}') | grep log
httpd 2618 root mem REG 253,0 64072 /usr/lib/httpd/modules/mod_logio.so (path inode=63267)
httpd 2618 root mem REG 253,0 64070 /usr/lib/httpd/modules/mod_log_config.so (path inode=63265)
httpd 2618 root 2w REG 253,2 1461 720904 /var/log/httpd/error_log
httpd 2618 root 6w REG 253,2 1461 720904 /var/log/httpd/error_log
httpd 2618 root 7w REG 253,2 4483 720899 /var/log/httpd/access_log
Here I have assumed your apache daemon is listening on the standard tcp port 80 of course.