How to do your own custom logs?

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
User avatar
steve102
Know my way around
Posts: 151
Joined: Sat Dec 20, 2014 2:53 am
Location: Maine
Contact:

How to do your own custom logs?

Post by steve102 »

anybody home? Need this! Pretty please!
I cannot seem to get /var/log/access_log and some other logs could someone tell me or point me to any tutorials on this.
I have successfully searched on this forum to "include" a custom.conf and I thank all contributors on that. However, I have hit a stone wall on doing this.
here is a copy of that:

Code: Select all

#My customized.conf  
CustomLog "var/log/access_log" combined
ErrorLog "var/log/ErrorLog_log"

# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/classes/"
Alias /awstatscss "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/css/"
Alias /awstatsicons "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/share/CACHEDEV1_DATA/Public/awstats/wwwroot">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
#
#
## Awstats symbolic links
/bin/ln -sf /share/Public/awstats/db /var/lib/awstats
/bin/ln -sf /etc/config/awstats /etc
/bin/ln -sf /share/Public/awstats /usr/local
#

## perl symbolic links
/bin/ln -sf /opt/bin/perl /usr/bin/perl
#

Nas1: TS-453D -Firmware: 4.5.3 Build 1652
Nas2: TS-453D -Firmware: 4.5.3 Build 1652
Nas3: TS-253 Pro-Firmware: 4.5.3 Build 1652
Nas4: TS-451+ -Firmware: 4.5.3 Build 1652
Windows 7 | Apple| Linux | Apache | Perl
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”