[tor-commits] [gettor/master] Enhanced logging structure (separated log files)

ilv at torproject.org ilv at torproject.org
Tue Sep 22 23:39:11 UTC 2015


commit eb288d2801aa225d6207a44c08595a84faddfd11
Author: ilv <ilv at users.noreply.github.com>
Date:   Fri Jun 13 23:43:54 2014 -0400

    Enhanced logging structure (separated log files)
---
 src/log/all.log   |   37 +++++++++++++++++++++++++++++++++++++
 src/log/debug.log |    1 +
 src/log/error.log |    1 +
 src/log/info.log  |   13 +++++++++++++
 src/log/warn.log  |    1 +
 5 files changed, 53 insertions(+)

diff --git a/src/log/all.log b/src/log/all.log
new file mode 100644
index 0000000..d961a72
--- /dev/null
+++ b/src/log/all.log
@@ -0,0 +1,37 @@
+
+[   INFO] 2014-06-13 23:36:47 - Redirecting logging to ./log/
+[  DEBUG] 2014-06-13 23:36:47 - New core object created
+[   INFO] 2014-06-13 23:36:47 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:36:47 - Reading links from providers directory
+[  DEBUG] 2014-06-13 23:36:47 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/mirrors.links
+[  DEBUG] 2014-06-13 23:36:47 - -- Checking if Official mirrors has links for linux in en
+[  DEBUG] 2014-06-13 23:36:47 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/dropbox.links
+[  DEBUG] 2014-06-13 23:36:47 - -- Checking if Dropbox has links for linux in en
+[  DEBUG] 2014-06-13 23:36:47 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/gdrive.links
+[  DEBUG] 2014-06-13 23:36:47 - -- Checking if Google Drive has links for linux in en
+[  DEBUG] 2014-06-13 23:36:47 - Joining all links found for linux in en
+[   INFO] 2014-06-13 23:36:47 - Returning the links
+[   INFO] 2014-06-13 23:38:27 - Redirecting logging to ./log/
+[  DEBUG] 2014-06-13 23:38:27 - New core object created
+[   INFO] 2014-06-13 23:38:27 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:38:27 - Reading links from providers directory
+[  DEBUG] 2014-06-13 23:38:27 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/mirrors.links
+[  DEBUG] 2014-06-13 23:38:27 - -- Checking if Official mirrors has links for linux in en
+[  DEBUG] 2014-06-13 23:38:27 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/dropbox.links
+[  DEBUG] 2014-06-13 23:38:27 - -- Checking if Dropbox has links for linux in en
+[  DEBUG] 2014-06-13 23:38:27 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/gdrive.links
+[  DEBUG] 2014-06-13 23:38:27 - -- Checking if Google Drive has links for linux in en
+[  DEBUG] 2014-06-13 23:38:27 - Joining all links found for linux in en
+[   INFO] 2014-06-13 23:38:27 - Returning the links
+[   INFO] 2014-06-13 23:39:20 - Redirecting logging to ./log/
+[  DEBUG] 2014-06-13 23:39:20 - New core object created
+[   INFO] 2014-06-13 23:39:20 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:39:20 - Reading links from providers directory
+[  DEBUG] 2014-06-13 23:39:20 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/mirrors.links
+[  DEBUG] 2014-06-13 23:39:20 - -- Checking if Official mirrors has links for linux in en
+[  DEBUG] 2014-06-13 23:39:20 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/dropbox.links
+[  DEBUG] 2014-06-13 23:39:20 - -- Checking if Dropbox has links for linux in en
+[  DEBUG] 2014-06-13 23:39:20 - -- Reading /home/ilv/Proyectos/github/gettor/src/providers/gdrive.links
+[  DEBUG] 2014-06-13 23:39:20 - -- Checking if Google Drive has links for linux in en
+[  DEBUG] 2014-06-13 23:39:20 - Joining all links found for linux in en
+[   INFO] 2014-06-13 23:39:20 - Returning the links
diff --git a/src/log/debug.log b/src/log/debug.log
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/log/debug.log
@@ -0,0 +1 @@
+
diff --git a/src/log/error.log b/src/log/error.log
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/log/error.log
@@ -0,0 +1 @@
+
diff --git a/src/log/info.log b/src/log/info.log
new file mode 100644
index 0000000..d767f9d
--- /dev/null
+++ b/src/log/info.log
@@ -0,0 +1,13 @@
+
+[   INFO] 2014-06-13 23:36:47 - Redirecting logging to ./log/
+[   INFO] 2014-06-13 23:36:47 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:36:47 - Reading links from providers directory
+[   INFO] 2014-06-13 23:36:47 - Returning the links
+[   INFO] 2014-06-13 23:38:27 - Redirecting logging to ./log/
+[   INFO] 2014-06-13 23:38:27 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:38:27 - Reading links from providers directory
+[   INFO] 2014-06-13 23:38:27 - Returning the links
+[   INFO] 2014-06-13 23:39:20 - Redirecting logging to ./log/
+[   INFO] 2014-06-13 23:39:20 - <module '__main__' from 'core_demo.py'> did a request for linux, en.
+[   INFO] 2014-06-13 23:39:20 - Reading links from providers directory
+[   INFO] 2014-06-13 23:39:20 - Returning the links
diff --git a/src/log/warn.log b/src/log/warn.log
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/log/warn.log
@@ -0,0 +1 @@
+





More information about the tor-commits mailing list