aboutsummaryrefslogtreecommitdiff
path: root/README.mkd
diff options
context:
space:
mode:
Diffstat (limited to 'README.mkd')
-rw-r--r--README.mkd13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.mkd b/README.mkd
index 07affcb..97ae736 100644
--- a/README.mkd
+++ b/README.mkd
@@ -78,3 +78,16 @@ If you wish to tell asc to ignore certain items inside some of your targets, you
You can prepend `**` to mean "any length of file name or folders", as well as common glob notation (`*` to mean "any length of any characters" or ? for "any single character"), one target per line.
See `man 1 rsync`, section "FILTER RULES" for more info on this file's rules format.
+
+## Logging ##
+What asc does is automatically written in the file `~/.autoSync.log`, which you can read to know what operations have been done in the past.
+
+You can set the environment variable `LOGLEVEL` to instruct asc to only log certain events.
+Log levels are incremental, which means if you set it to a certain level, it will log everything that falls *after this value*.
+
+ - 0: DEBUG. Detailed information about what happens inside.
+ - 1: INFO.
+ - 2: NOTIF. Less verbose than INFO
+ - 3: WARN. Only warnings and errors
+ - 4: ERROR. Only fatal errors.
+