Tom Morton is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

errant / eventscripts-xa

Welcome to the eXtensible Admin bug tracker and code repository. Please report all bugs you may find.

Clone this repository (size: 5.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/errant/eventscripts-xa
hg clone ssh://hg@bitbucket.org/errant/eventscripts-xa

Issues

#56 log levels

Reported by Jonas Obrist

Provide more than one log level and allow server owners to choose which log levels they want to log to file and which not.

Also (not directly related) logging should use textwrap to provide nicer looking logs without excessive line lengths.

Status: open Responsible: nobody Type: proposal Priority: major
Milestone: future-nice Component: xa-core Version: 1.1.1.x

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Tom Morton

    written

    We could link this in to the Cvar xa_debug (which is used in xa.debug()) or even allow different values of xa_log (in the same way) whereby higher values == more logged.

    Either would work.

    We also need to add the ability to change these in the Admin menu's (if they aren't there already...)

  2. #2 Tom Morton

    written

    Adding loglvl as an option in logging.log() - ref #56

    Decided against using TextWrap because in testing it looked confusing/odd.

    8706a0205c5b

  3. #3 Tom Morton

    written

    • Changed status from new to open.
    • Changed version from 1.1.0.x to 1.1.1.x.
  4. #4 James Y

    written , last edited

    variable to log JUST admin activity

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?