Skip to content

Commit

Permalink
allow logging via syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Nov 16, 2012
1 parent af4b8bf commit 2e0cbb4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/my.cnf.erb
Expand Up @@ -4,6 +4,9 @@ socket = <%= socket %>
[mysqld_safe]
socket = <%= socket %>
nice = 0
<% if log_error == 'syslog' -%>
syslog
<% end -%>
[mysqld]
user = mysql
pid-file = <%= pidfile %>
Expand All @@ -25,7 +28,9 @@ thread_cache_size = 8
myisam-recover = BACKUP
query_cache_limit = 1M
query_cache_size = 16M
<% if log_error != 'syslog' -%>
log_error = <%= log_error %>
<% end -%>
expire_logs_days = 10
max_binlog_size = 100M
<% if default_engine != 'UNSET' %>
Expand Down

0 comments on commit 2e0cbb4

Please sign in to comment.