-
-
Notifications
You must be signed in to change notification settings - Fork 537
log files locations
normally at
tracks_web_server_directory /log/production.log
the place is defined during the configuration of Apache to host Tracks
normally something like
(Ubuntu, Debian)
ErrorLog "/var/log/apache2/tracks_error.log"
CustomLog "/var/log/apache2/tracks_access.log"
or
(CentOS, RedHat)
ErrorLog "/var/log/httpd/tracks_error.log"
CustomLog "/var/log/httpd/tracks_access.log"
error log, slow query log and general query log : text format.
The binary, relay, and DDL logs are all binary in format, and they are designed for use primarily by MySQL itself, specifically for tasks such as server replication and data recovery
log settings are managed via a user-editable configuration file such as /etc/mysql/mysql.conf.d/mysqld.cnf
possible places of the cnf file
- /etc/my.cnf
- /etc/mysql/my.cnf
- $MYSQL_HOME/my.cnf
- [datadir]/my.cnf
- ~/.my.cnf
typically
error.log or mysqld.log in /var/log/ or var/log/mysql/
data directory typically /var/lib/mysql/ will serve as the default destination for any logs that are enabled without an alternate path
by default the Passenger log file is the global (not the per-vhost) Apache error log file. This is typically located in /var/log/apache2/error_log. You can find out the exact location of the Passenger error log by running
>passenger-config --detect-apache2