Skip to content

Commit

Permalink
feat(log): decrease number of log line, it's to much for kibana
Browse files Browse the repository at this point in the history
ref: WEB-3531
  • Loading branch information
bsuttor committed Jan 31, 2025
1 parent 5414569 commit 907f4b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
1.4.6 (unreleased)
------------------

- Set event log level to error in production configuration and debug in dev configuration
[bsuttor]

- imio.smartweb.common 1.2.21

- Fix: Updated to align scale behavior with the fix in plone.scale ([commit a352815](https://github.com/plone/plone.scale/commit/a352815#diff-24f46fc714c6d36041bcea7e64a7d5aeceacd929eb802655276a1d8f4b4576f4R209))
Expand Down
1 change: 1 addition & 0 deletions dev.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ auto-checkout +=
[instance]
debug-mode = on
verbose-security = on
event-log-level = DEBUG
user = admin:admin
eggs +=
${debug-products:eggs}
Expand Down
13 changes: 1 addition & 12 deletions prod.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,7 @@ http-address = 8080
shared-blob = on
blob-storage = /data/blobstorage
user = admin:admin
event-log-custom =
<syslog>
address $(LOGS_SERVER)
facility local3
format %(asctime)s $(HOSTNAME_HOST) zope[%(process)s]: $(PROJECT_ID) ${:_buildout_section_name_} [%(levelname)s] %(name)s | %(message)s
dateformat %b %d %H:%M:%S
level info
</syslog>
<logfile>
path ${buildout:directory}/var/log/${:_buildout_section_name_}.log
level info
</logfile>
event-log-level = ERROR
eggs +=
collective.upgrade
pylibmc
Expand Down

0 comments on commit 907f4b4

Please sign in to comment.