[X] The "/libfat/libfat-gba-20060722.tar.bz2" file could not be found or is not available. Please select another file.

Python logging library. Immediately supported are: file and database logging, rotation, remote logging, message archiving, email notification, stack logging and call hierarchy visualization.


http://www.reifenberg.de/rrlog/





Separate each tag with a space.

Release Date:

2009-04-29

Topics:

License:

Translations:

Intended Audience:

User Interface:

Programming Language:

Registered:

2007-05-14

Ratings and Reviews

Be the first to post a text review of python-rrlog. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Project Information Updated

    ratsberg changed the public information on the python-rrlog project

    posted by ratsberg 25 days ago

  • rrlog 0.2.2 file released: rrlog-0.2.2.zip

    CHANGES ------- 0.2.2 ----- This release brings bugfixes in observer handling and xmlrpc logging, and adds mail notifications. Details: - module for Mail notifications added (currently, via SMTP server only) (Sends EMail summaries when messages of defined categories appear.) - Bugfixes: - marshal error in XMLRPC logging when the callers function name could not be detected (critical/since v0.2.1) - handling of internal errors in custom observers/filters fixed - observer API behaves like documented in pydoc now (i.e.both __call__() and observe() methods are recognized) - Minor additions: - added a second standard timestamp format "std2" which contains month/day (Note: custom strftime formats are always possible) - the archiver create... functions take optional observer/filter arguments now (intended to cascade observers, e.g. to send a mail when messages are archived) - the xmlrpc client create... function takes the "extractStack" parameter to switch off stack extraction 0.2.1 ----- This release brings database-archiver bugfixes, more debug information, unified formatting methods, a speed improvement, deprecation of legacy code and a revised & extended manual. Details: - Logged tracebacks contain the callers function name (additionally to filename & line number) - The log client process id is by default now in the logged data - new log creation parameter: "extractStack=False" can double performance (but disable any stack related functionality, e.g.line indention) - Bugfixes: - the "problem_id" of the DB Table Archiver wasn't unique per triggering message but the name ("id") suggested that, which was considered to be a bug. Now it is unique as expected. Additionally, it is renamed to "trigger_id" since it behaves different (it's based on process ids now.) - When using the combination of:Archiving Tool,Database Logging,activated Meta Table and non-remote logging with multiple processes, writing the meta table failed with Integrity Errors, resulting in annoying "Internal Error" messages in both the main log and the archive table. - API changes / Deprecation: - Archiver: the "problem_id" is replaced by a "trigger_id" which is unique because based on process ids - the "seFilesExclude" parameter behaves different for the sake of consistency now, it is applied to all stacktrace items (before, the first one was treated special and could not be hidden) - getFormattedDict() method is deprecated in favour of a new _format_dict method in the DBLogWriter, analogous to the way we already format files and stdout. Also analogous, a simple callable (format_dict) can be provided to the server which does custom formatting of each table field. - minor behaviour changes: - timestamps are activated per default in filewriter.createRotatingServer (before: tsFormat was None by default) - modified the default text line format 0.2.0 ----- This release brings minor bugfixes,full column configuration, some Deprecations and a step towards Python3. Details: - DB columns can be fully configured; you may add/remove/re-order columns, and define columns to be primary keys, change max size of string columns etc. - nicer stackpath formatting, e.g. dots indicate omitted file names - Bugfixes: - Report of internal logging errors (which occurred with Python3.0) do not fail anymore with "Error while reporting an internal error" - the default "seFilesExclude" implementation now also takes effect with Python installations where "logging/__init__.py" is preceded by an absolute path - API changes / Deprecation: - Archiving tool: Anything in the deprecated "probarch_sa" module raises DeprecationWarning, requesting to use the "catarch_dbsa" module instead. - the createColumns() method requires an argument (since the way to configure custom columns has changed.) - minor behaviour changes: - custom line formatting method for print-output need to add the linebreak "\n" by themselves (analogous to file lines). - Python3 preparations: - experimental Python3 version added (without DB-logging support; DB logging with Python3 has to wait for Python3-SQLAlchemy (and MySQLdb for MySQL users.)) - all non-DB-related tests pass with Python2.6 now - all tests pass with nosetest, too, since py.test is not expected to get Python3 compatible near-term. 0.1.5 ----- - filter mechanism added - added a filter to indent messages by stack depth (visualizes the call hierarchy) - logging to stdout added (analogous to file logging) - minor behavior changes: - text file logging: When stack logging is switched off (stackMax=0), the annoying linenumber/filename placeholders ("-1"/"-off-") are supressed - rotation is lazy (i.e.no empty next file/table is waiting for its first message) - database logging: The "path" column has the complete path, i.e.the cfn/cln columns get redundant. - API changes: - file logging: The "linenumbers" argument is removed, as well as the _line method Instead, a callable "format_line" argument allows full custom formatting (it takes a job, and returns the formatted line string.) - The create* and __init__ methods got additional args, and the arg order changed (best practice is using kwargs as all examples do, to be independent from the arg order). - the "special" dict in the MsgJob can be empty but no more None (which was annoying) - observers can be callables now (this is backwards compatible; the observer.observe() method is still used when found.) 0.1.4 ----- - Integration into the Python standard logging (as a Handler) added - new "seFilesExclude" parameter allows better readable stack logging by excluding files - API Changes: -Archiving tool: parameter "problemCats" deprecated (is renamed to "cats" and defaults to None) -the log.log() method is removed (log.log() was for compatibility with pre - 0.1.0 versions only. It has never been documented in the manual.) 0.1.3 ----- - Archiver is available for both text file and database logging - Archiver can rotate, analogous to the "normal" log - Unicode helper functions has been revised: The lu2a* functions use the standard backslash style for non-ascii characters (e.g.\\xc4 instead of <196> which was HTML/XML-unfriendly.) The max parameter of lu2a* limits the _result_ length now (instead of limiting the ingoing unicode string, which was annoying when storing the result into fixed-length database fields.) - Incompatible API changes: - Archiver creation function is changed (the old example code is still working but there's no full compatibility; see manual.) - The "overwrite" parameter in the create* functions is named "drop" now which defaults to True ("overwrite" may have suggested we overwrite existing files/tables line by line which is not right.) - Customizing DB Columns has slightly changed, see example in the manual. 0.1.2 ----- - Problem Archiving Tool revised. Works without DB-read-operations now, to reduce DB load in case of many error messages. Futher, it allows better customization (see manual.) - The observe() method has changed. Mainly, it receives a job history now instead of a single job. - A defined API to customize the output line format is available now. - The depth of logged stacktraces can be set in the createLocalLog methods now (stackMax parameter). - speed of Database Logging improved - The witless initial message ("Generated by...") is not written by default anymore 0.1.1 ----- - Compatible with SQLAlchemy 0.4.0beta5 (SQLAlchemy 0.3.x is still supported) 0.1.0 ----- - First public release

    posted 201 days ago

  • rrlog 0.2.2 file released: rrlog-0.2.2.tar.gz

    CHANGES ------- 0.2.2 ----- This release brings bugfixes in observer handling and xmlrpc logging, and adds mail notifications. Details: - module for Mail notifications added (currently, via SMTP server only) (Sends EMail summaries when messages of defined categories appear.) - Bugfixes: - marshal error in XMLRPC logging when the callers function name could not be detected (critical/since v0.2.1) - handling of internal errors in custom observers/filters fixed - observer API behaves like documented in pydoc now (i.e.both __call__() and observe() methods are recognized) - Minor additions: - added a second standard timestamp format "std2" which contains month/day (Note: custom strftime formats are always possible) - the archiver create... functions take optional observer/filter arguments now (intended to cascade observers, e.g. to send a mail when messages are archived) - the xmlrpc client create... function takes the "extractStack" parameter to switch off stack extraction 0.2.1 ----- This release brings database-archiver bugfixes, more debug information, unified formatting methods, a speed improvement, deprecation of legacy code and a revised & extended manual. Details: - Logged tracebacks contain the callers function name (additionally to filename & line number) - The log client process id is by default now in the logged data - new log creation parameter: "extractStack=False" can double performance (but disable any stack related functionality, e.g.line indention) - Bugfixes: - the "problem_id" of the DB Table Archiver wasn't unique per triggering message but the name ("id") suggested that, which was considered to be a bug. Now it is unique as expected. Additionally, it is renamed to "trigger_id" since it behaves different (it's based on process ids now.) - When using the combination of:Archiving Tool,Database Logging,activated Meta Table and non-remote logging with multiple processes, writing the meta table failed with Integrity Errors, resulting in annoying "Internal Error" messages in both the main log and the archive table. - API changes / Deprecation: - Archiver: the "problem_id" is replaced by a "trigger_id" which is unique because based on process ids - the "seFilesExclude" parameter behaves different for the sake of consistency now, it is applied to all stacktrace items (before, the first one was treated special and could not be hidden) - getFormattedDict() method is deprecated in favour of a new _format_dict method in the DBLogWriter, analogous to the way we already format files and stdout. Also analogous, a simple callable (format_dict) can be provided to the server which does custom formatting of each table field. - minor behaviour changes: - timestamps are activated per default in filewriter.createRotatingServer (before: tsFormat was None by default) - modified the default text line format 0.2.0 ----- This release brings minor bugfixes,full column configuration, some Deprecations and a step towards Python3. Details: - DB columns can be fully configured; you may add/remove/re-order columns, and define columns to be primary keys, change max size of string columns etc. - nicer stackpath formatting, e.g. dots indicate omitted file names - Bugfixes: - Report of internal logging errors (which occurred with Python3.0) do not fail anymore with "Error while reporting an internal error" - the default "seFilesExclude" implementation now also takes effect with Python installations where "logging/__init__.py" is preceded by an absolute path - API changes / Deprecation: - Archiving tool: Anything in the deprecated "probarch_sa" module raises DeprecationWarning, requesting to use the "catarch_dbsa" module instead. - the createColumns() method requires an argument (since the way to configure custom columns has changed.) - minor behaviour changes: - custom line formatting method for print-output need to add the linebreak "\n" by themselves (analogous to file lines). - Python3 preparations: - experimental Python3 version added (without DB-logging support; DB logging with Python3 has to wait for Python3-SQLAlchemy (and MySQLdb for MySQL users.)) - all non-DB-related tests pass with Python2.6 now - all tests pass with nosetest, too, since py.test is not expected to get Python3 compatible near-term. 0.1.5 ----- - filter mechanism added - added a filter to indent messages by stack depth (visualizes the call hierarchy) - logging to stdout added (analogous to file logging) - minor behavior changes: - text file logging: When stack logging is switched off (stackMax=0), the annoying linenumber/filename placeholders ("-1"/"-off-") are supressed - rotation is lazy (i.e.no empty next file/table is waiting for its first message) - database logging: The "path" column has the complete path, i.e.the cfn/cln columns get redundant. - API changes: - file logging: The "linenumbers" argument is removed, as well as the _line method Instead, a callable "format_line" argument allows full custom formatting (it takes a job, and returns the formatted line string.) - The create* and __init__ methods got additional args, and the arg order changed (best practice is using kwargs as all examples do, to be independent from the arg order). - the "special" dict in the MsgJob can be empty but no more None (which was annoying) - observers can be callables now (this is backwards compatible; the observer.observe() method is still used when found.) 0.1.4 ----- - Integration into the Python standard logging (as a Handler) added - new "seFilesExclude" parameter allows better readable stack logging by excluding files - API Changes: -Archiving tool: parameter "problemCats" deprecated (is renamed to "cats" and defaults to None) -the log.log() method is removed (log.log() was for compatibility with pre - 0.1.0 versions only. It has never been documented in the manual.) 0.1.3 ----- - Archiver is available for both text file and database logging - Archiver can rotate, analogous to the "normal" log - Unicode helper functions has been revised: The lu2a* functions use the standard backslash style for non-ascii characters (e.g.\\xc4 instead of <196> which was HTML/XML-unfriendly.) The max parameter of lu2a* limits the _result_ length now (instead of limiting the ingoing unicode string, which was annoying when storing the result into fixed-length database fields.) - Incompatible API changes: - Archiver creation function is changed (the old example code is still working but there's no full compatibility; see manual.) - The "overwrite" parameter in the create* functions is named "drop" now which defaults to True ("overwrite" may have suggested we overwrite existing files/tables line by line which is not right.) - Customizing DB Columns has slightly changed, see example in the manual. 0.1.2 ----- - Problem Archiving Tool revised. Works without DB-read-operations now, to reduce DB load in case of many error messages. Futher, it allows better customization (see manual.) - The observe() method has changed. Mainly, it receives a job history now instead of a single job. - A defined API to customize the output line format is available now. - The depth of logged stacktraces can be set in the createLocalLog methods now (stackMax parameter). - speed of Database Logging improved - The witless initial message ("Generated by...") is not written by default anymore 0.1.1 ----- - Compatible with SQLAlchemy 0.4.0beta5 (SQLAlchemy 0.3.x is still supported) 0.1.0 ----- - First public release

    posted 201 days ago

  • File released: /rrlog/0.2.2/rrlog-0.2.2.zip

    posted 201 days ago

  • File released: /rrlog/0.2.2/rrlog-0.2.2.tar.gz

    posted 201 days ago

  • rrlog 0.2.1 file released: rrlog-0.2.1.zip

    CHANGES ------- 0.2.1 ----- This release brings database-archiver bugfixes, more debug information, unified formatting methods, a speed improvement, deprecation of legacy code and a revised & extended manual. Details: - Logged tracebacks contain the callers function name (additionally to filename & line number) - The log client process id is by default now in the logged data - new log creation parameter: "extractStack=False" can double performance (but disable any stack related functionality, e.g.line indention) - Bugfixes: - the "problem_id" of the DB Table Archiver wasn't unique per triggering message but the name ("id") suggested that, which was considered to be a bug. Now it is unique as expected. Additionally, it is renamed to "trigger_id" since it behaves different (it's based on process ids now.) - When using the combination of:Archiving Tool,Database Logging,activated Meta Table and non-remote logging with multiple processes, writing the meta table failed with Integrity Errors, resulting in annoying "Internal Error" messages in both the main log and the archive table. - API changes / Deprecation: - Archiver: the "problem_id" is replaced by a "trigger_id" which is unique because based on process ids - the "seFilesExclude" parameter behaves different for the sake of consistency now, it is applied to all stacktrace items (before, the first one was treated special and could not be hidden) - getFormattedDict() method is deprecated in favour of a new _format_dict method in the DBLogWriter, analogous to the way we already format files and stdout. Also analogous, a simple callable (format_dict) can be provided to the server which does custom formatting of each table field. - minor behaviour changes: - timestamps are activated per default in filewriter.createRotatingServer (before: tsFormat was None by default) - modified the default text line format 0.2.0 ----- This release brings minor bugfixes,full column configuration, some Deprecations and a step towards Python3. Details: - DB columns can be fully configured; you may add/remove/re-order columns, and define columns to be primary keys, change max size of string columns etc. - nicer stackpath formatting, e.g. dots indicate omitted file names - Bugfixes: - Report of internal logging errors (which occurred with Python3.0) do not fail anymore with "Error while reporting an internal error" - the default "seFilesExclude" implementation now also takes effect with Python installations where "logging/__init__.py" is preceded by an absolute path - API changes / Deprecation: - Archiving tool: Anything in the deprecated "probarch_sa" module raises DeprecationWarning, requesting to use the "catarch_dbsa" module instead. - the createColumns() method requires an argument (since the way to configure custom columns has changed.) - minor behaviour changes: - custom line formatting method for print-output need to add the linebreak "\n" by themselves (analogous to file lines). - Python3 preparations: - experimental Python3 version added (without DB-logging support; DB logging with Python3 has to wait for Python3-SQLAlchemy (and MySQLdb for MySQL users.)) - all non-DB-related tests pass with Python2.6 now - all tests pass with nosetest, too, since py.test is not expected to get Python3 compatible near-term. 0.1.5 ----- - filter mechanism added - added a filter to indent messages by stack depth (visualizes the call hierarchy) - logging to stdout added (analogous to file logging) - minor behavior changes: - text file logging: When stack logging is switched off (stackMax=0), the annoying linenumber/filename placeholders ("-1"/"-off-") are supressed - rotation is lazy (i.e.no empty next file/table is waiting for its first message) - database logging: The "path" column has the complete path, i.e.the cfn/cln columns get redundant. - API changes: - file logging: The "linenumbers" argument is removed, as well as the _line method Instead, a callable "format_line" argument allows full custom formatting (it takes a job, and returns the formatted line string.) - The create* and __init__ methods got additional args, and the arg order changed (best practice is using kwargs as all examples do, to be independent from the arg order). - the "special" dict in the MsgJob can be empty but no more None (which was annoying) - observers can be callables now (this is backwards compatible; the observer.observe() method is still used when found.) 0.1.4 ----- - Integration into the Python standard logging (as a Handler) added - new "seFilesExclude" parameter allows better readable stack logging by excluding files - API Changes: -Archiving tool: parameter "problemCats" deprecated (is renamed to "cats" and defaults to None) -the log.log() method is removed (log.log() was for compatibility with pre - 0.1.0 versions only. It has never been documented in the manual.) 0.1.3 ----- - Archiver is available for both text file and database logging - Archiver can rotate, analogous to the "normal" log - Unicode helper functions has been revised: The lu2a* functions use the standard backslash style for non-ascii characters (e.g.\\xc4 instead of <196> which was HTML/XML-unfriendly.) The max parameter of lu2a* limits the _result_ length now (instead of limiting the ingoing unicode string, which was annoying when storing the result into fixed-length database fields.) - Incompatible API changes: - Archiver creation function is changed (the old example code is still working but there's no full compatibility; see manual.) - The "overwrite" parameter in the create* functions is named "drop" now which defaults to True ("overwrite" may have suggested we overwrite existing files/tables line by line which is not right.) - Customizing DB Columns has slightly changed, see example in the manual. 0.1.2 ----- - Problem Archiving Tool revised. Works without DB-read-operations now, to reduce DB load in case of many error messages. Futher, it allows better customization (see manual.) - The observe() method has changed. Mainly, it receives a job history now instead of a single job. - A defined API to customize the output line format is available now. - The depth of logged stacktraces can be set in the createLocalLog methods now (stackMax parameter). - speed of Database Logging improved - The witless initial message ("Generated by...") is not written by default anymore 0.1.1 ----- - Compatible with SQLAlchemy 0.4.0beta5 (SQLAlchemy 0.3.x is still supported) 0.1.0 ----- - First public release

    posted 221 days ago

  • rrlog 0.2.1 file released: rrlog-0.2.1.tar.gz

    CHANGES ------- 0.2.1 ----- This release brings database-archiver bugfixes, more debug information, unified formatting methods, a speed improvement, deprecation of legacy code and a revised & extended manual. Details: - Logged tracebacks contain the callers function name (additionally to filename & line number) - The log client process id is by default now in the logged data - new log creation parameter: "extractStack=False" can double performance (but disable any stack related functionality, e.g.line indention) - Bugfixes: - the "problem_id" of the DB Table Archiver wasn't unique per triggering message but the name ("id") suggested that, which was considered to be a bug. Now it is unique as expected. Additionally, it is renamed to "trigger_id" since it behaves different (it's based on process ids now.) - When using the combination of:Archiving Tool,Database Logging,activated Meta Table and non-remote logging with multiple processes, writing the meta table failed with Integrity Errors, resulting in annoying "Internal Error" messages in both the main log and the archive table. - API changes / Deprecation: - Archiver: the "problem_id" is replaced by a "trigger_id" which is unique because based on process ids - the "seFilesExclude" parameter behaves different for the sake of consistency now, it is applied to all stacktrace items (before, the first one was treated special and could not be hidden) - getFormattedDict() method is deprecated in favour of a new _format_dict method in the DBLogWriter, analogous to the way we already format files and stdout. Also analogous, a simple callable (format_dict) can be provided to the server which does custom formatting of each table field. - minor behaviour changes: - timestamps are activated per default in filewriter.createRotatingServer (before: tsFormat was None by default) - modified the default text line format 0.2.0 ----- This release brings minor bugfixes,full column configuration, some Deprecations and a step towards Python3. Details: - DB columns can be fully configured; you may add/remove/re-order columns, and define columns to be primary keys, change max size of string columns etc. - nicer stackpath formatting, e.g. dots indicate omitted file names - Bugfixes: - Report of internal logging errors (which occurred with Python3.0) do not fail anymore with "Error while reporting an internal error" - the default "seFilesExclude" implementation now also takes effect with Python installations where "logging/__init__.py" is preceded by an absolute path - API changes / Deprecation: - Archiving tool: Anything in the deprecated "probarch_sa" module raises DeprecationWarning, requesting to use the "catarch_dbsa" module instead. - the createColumns() method requires an argument (since the way to configure custom columns has changed.) - minor behaviour changes: - custom line formatting method for print-output need to add the linebreak "\n" by themselves (analogous to file lines). - Python3 preparations: - experimental Python3 version added (without DB-logging support; DB logging with Python3 has to wait for Python3-SQLAlchemy (and MySQLdb for MySQL users.)) - all non-DB-related tests pass with Python2.6 now - all tests pass with nosetest, too, since py.test is not expected to get Python3 compatible near-term. 0.1.5 ----- - filter mechanism added - added a filter to indent messages by stack depth (visualizes the call hierarchy) - logging to stdout added (analogous to file logging) - minor behavior changes: - text file logging: When stack logging is switched off (stackMax=0), the annoying linenumber/filename placeholders ("-1"/"-off-") are supressed - rotation is lazy (i.e.no empty next file/table is waiting for its first message) - database logging: The "path" column has the complete path, i.e.the cfn/cln columns get redundant. - API changes: - file logging: The "linenumbers" argument is removed, as well as the _line method Instead, a callable "format_line" argument allows full custom formatting (it takes a job, and returns the formatted line string.) - The create* and __init__ methods got additional args, and the arg order changed (best practice is using kwargs as all examples do, to be independent from the arg order). - the "special" dict in the MsgJob can be empty but no more None (which was annoying) - observers can be callables now (this is backwards compatible; the observer.observe() method is still used when found.) 0.1.4 ----- - Integration into the Python standard logging (as a Handler) added - new "seFilesExclude" parameter allows better readable stack logging by excluding files - API Changes: -Archiving tool: parameter "problemCats" deprecated (is renamed to "cats" and defaults to None) -the log.log() method is removed (log.log() was for compatibility with pre - 0.1.0 versions only. It has never been documented in the manual.) 0.1.3 ----- - Archiver is available for both text file and database logging - Archiver can rotate, analogous to the "normal" log - Unicode helper functions has been revised: The lu2a* functions use the standard backslash style for non-ascii characters (e.g.\\xc4 instead of <196> which was HTML/XML-unfriendly.) The max parameter of lu2a* limits the _result_ length now (instead of limiting the ingoing unicode string, which was annoying when storing the result into fixed-length database fields.) - Incompatible API changes: - Archiver creation function is changed (the old example code is still working but there's no full compatibility; see manual.) - The "overwrite" parameter in the create* functions is named "drop" now which defaults to True ("overwrite" may have suggested we overwrite existing files/tables line by line which is not right.) - Customizing DB Columns has slightly changed, see example in the manual. 0.1.2 ----- - Problem Archiving Tool revised. Works without DB-read-operations now, to reduce DB load in case of many error messages. Futher, it allows better customization (see manual.) - The observe() method has changed. Mainly, it receives a job history now instead of a single job. - A defined API to customize the output line format is available now. - The depth of logged stacktraces can be set in the createLocalLog methods now (stackMax parameter). - speed of Database Logging improved - The witless initial message ("Generated by...") is not written by default anymore 0.1.1 ----- - Compatible with SQLAlchemy 0.4.0beta5 (SQLAlchemy 0.3.x is still supported) 0.1.0 ----- - First public release

    posted 221 days ago

  • File released: /rrlog/0.2.1/rrlog-0.2.1.zip

    posted 221 days ago

  • File released: /rrlog/0.2.1/rrlog-0.2.1.tar.gz

    posted 221 days ago

  • rrlog 0.2.0 file released: rrlog-0.2.0.zip

    CHANGES ------- 0.2.0 ----- This release brings minor bugfixes,full column configuration, some Deprecations and a step towards Python3. Details: - DB columns can be fully configured; you may add/remove/re-order columns, and define columns to be primary keys, change max size of string columns etc. - nicer stackpath formatting, e.g. dots indicate omitted file names - Bugfixes: - Report of internal logging errors (which occurred with Python3.0) do not fail anymore with "Error while reporting an internal error" - the default "seFilesExclude" implementation now also takes effect with Python installations where "logging/__init__.py" is preceded by an absolute path - API changes / Deprecation: - Archiving tool: Anything in the deprecated "probarch_sa" module raises DeprecationWarning, requesting to use the "catarch_dbsa" module instead. - the createColumns() method requires an argument (since the way to configure custom columns has changed.) - minor behaviour changes: - custom line formatting method for print-output need to add the linebreak "\n" by themselves (analogous to file lines). - Python3 preparations: - experimental Python3 version added (without DB-logging support; DB logging with Python3 has to wait for Python3-SQLAlchemy (and MySQLdb for MySQL users.)) - all non-DB-related tests pass with Python2.6 now - all tests pass with nosetest, too, since py.test is not expected to get Python3 compatible near-term. 0.1.5 ----- - filter mechanism added - added a filter to indent messages by stack depth (visualizes the call hierarchy) - logging to stdout added (analogous to file logging) - minor behavior changes: - text file logging: When stack logging is switched off (stackMax=0), the annoying linenumber/filename placeholders ("-1"/"-off-") are supressed - rotation is lazy (i.e.no empty next file/table is waiting for its first message) - database logging: The "path" column has the complete path, i.e.the cfn/cln columns get redundant. - API changes: - file logging: The "linenumbers" argument is removed, as well as the _line method Instead, a callable "format_line" argument allows full custom formatting (it takes a job, and returns the formatted line string.) - The create* and __init__ methods got additional args, and the arg order changed (best practice is using kwargs as all examples do, to be independent from the arg order). - the "special" dict in the MsgJob can be empty but no more None (which was annoying) - observers can be callables now (this is backwards compatible; the observer.observe() method is still used when found.) 0.1.4 ----- - Integration into the Python standard logging (as a Handler) added - new "seFilesExclude" parameter allows better readable stack logging by excluding files - API Changes: -Archiving tool: parameter "problemCats" deprecated (is renamed to "cats" and defaults to None) -the log.log() method is removed (log.log() was for compatibility with pre - 0.1.0 versions only. It has never been documented in the manual.) 0.1.3 ----- - Archiver is available for both text file and database logging - Archiver can rotate, analogous to the "normal" log - Unicode helper functions has been revised: The lu2a* functions use the standard backslash style for non-ascii characters (e.g.\\xc4 instead of <196> which was HTML/XML-unfriendly.) The max parameter of lu2a* limits the _result_ length now (instead of limiting the ingoing unicode string, which was annoying when storing the result into fixed-length database fields.) - Incompatible API changes: - Archiver creation function is changed (the old example code is still working but there's no full compatibility; see manual.) - The "overwrite" parameter in the create* functions is named "drop" now which defaults to True ("overwrite" may have suggested we overwrite existing files/tables line by line which is not right.) - Customizing DB Columns has slightly changed, see example in the manual. 0.1.2 ----- - Problem Archiving Tool revised. Works without DB-read-operations now, to reduce DB load in case of many error messages. Futher, it allows better customization (see manual.) - The observe() method has changed. Mainly, it receives a job history now instead of a single job. - A defined API to customize the output line format is available now. - The depth of logged stacktraces can be set in the createLocalLog methods now (stackMax parameter). - speed of Database Logging improved - The witless initial message ("Generated by...") is not written by default anymore 0.1.1 ----- - Compatible with SQLAlchemy 0.4.0beta5 (SQLAlchemy 0.3.x is still supported) 0.1.0 ----- - First public release

    posted 300 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

python-rrlog Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review