[Git][noosfero/noosfero][master] 2 commits: Add subdomain and request id tags to log lines.

Rodrigo Souto gitlab at mg.gitlab.com
Mon May 8 14:32:07 BRT 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
d91239ce by Aurélio A. Heckert at 2017-05-08T09:47:24-03:00
Add subdomain and request id tags to log lines.
It helps to follow the request event sequence in a multi-process service.
- - - - -
210613ef by Rodrigo Souto at 2017-05-08T17:31:59+00:00
Merge branch 'new-log-tags' into 'master'

Add subdomain and request id tags to log lines.

See merge request !1203
- - - - -


1 changed file:

- config/environments/production.rb


Changes:

=====================================
config/environments/production.rb
=====================================
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -37,7 +37,7 @@ Noosfero::Application.configure do
   # config.log_level = :debug
 
   # Prepend all log lines with the following tags
-  # config.log_tags = [ :subdomain, :uuid ]
+  config.log_tags = [ :subdomain, :uuid ]
 
 
   #  # Use a different logger for distributed setups



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/9417b460b9da5fa3b181c735872e7af60d77db95...210613efe274dd9d4d5906004fb936ea06f7de44

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/9417b460b9da5fa3b181c735872e7af60d77db95...210613efe274dd9d4d5906004fb936ea06f7de44
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170508/3354c161/attachment.html>


More information about the Noosfero-dev mailing list