Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 808
    • Issues 808
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 108
    • Merge requests 108
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TrytonTryton
  • TrytonTryton
  • Issues
  • #5217
Closed
Open
Issue created Jan 01, 2016 by Luis Falcon@meanmicio

log INFO level records too much information

Hi there !

Currently, the default INFO loglevel records too much information in the logfile, that is not required, and it might pose a performance and a security issue.

I propose that the INFO loglevel records only the basic events, such as start of the server, user login and logout, and error messages. This would be analogous as the previous Trytond messages shown when trytond was invoked without arguments.

Sample :
[Fri Jan 01 12:03:46 2016] INFO:trytond.protocols.dispatcher:model.ir.attachment.search_count(*([[u'resource', u'=', u'gnuhealth.patient,6']], {u'date_format': u'%m/%d/%Y', u'language': u'en_US', u'locale': {u'date': u'%m/%d/%Y', u'thousands_sep': u',', u'decimal_point': u'.', u'grouping': [3, 3, 0]}, u'language_direction': u'ltr', u'company.rec_name': u'GNU SOLIDARIO HOSPITAL', u'groups': [13, 14, 1, 26, 2, 5, 21, 18, 15, 20, 23, 19, 25, 22, 16, 4, 3, 28, 27, 11, 10, 12], u'employee': None, u'company': 1}), **{}) from 1@::ffff:2.138.18.247:37282/health30rc1
using /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf as the configuration file

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking