Changes between Version 3 and Version 4 of UserGuide/Service/DebianUbuntuInitd
- Timestamp:
- 09/03/2010 10:59:33 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuide/Service/DebianUbuntuInitd
v3 v4 190 190 191 191 == Make deluge log something == 192 * create a structure for deluge to log to:192 Create a structure for deluge to log to: 193 193 {{{ 194 194 sudo mkdir -p /var/log/deluge/daemon 195 195 sudo mkdir /var/log/deluge/web 196 196 }}} 197 * give the user that deluge is running as (in this case deluge) write-access to the logs197 Give the user that deluge is running as (in this case deluge) write-access to the logs 198 198 {{{ 199 199 sudo chmod -R 755 /var/log/deluge 200 200 sudo chown -R deluge /var/log/deluge 201 201 }}} 202 * edit the init-script like so:202 Edit the init-script like so: 203 203 {{{ 204 204 #!sh … … 208 208 DAEMON2_ARGS="-L warning -l /var/log/deluge/web/warning.log" 209 209 }}} 210 See [wiki:Faq#EnableDelugeLogging Logging] for possible loglevels. 211 * restart the daemon: {{{sudo invoke-rc.d deluge-daemon restart}}} 212 * tell logrotate to rotate the logs 210 * See [wiki:Faq#EnableDelugeLogging Logging] for possible loglevels. 211 Restart the daemon 212 {{{ 213 sudo invoke-rc.d deluge-daemon restart 214 }}} 215 Tell logrotate to rotate the logs 213 216 {{{ 214 217 sudo cat > /etc/logrotate.d/deluge << EOF