Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
2b088b9f
Commit
2b088b9f
authored
Mar 24, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'no_render_log' into 'master'
Suppress 'Rendered...' log messages
parents
12d16299
7862201d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
config/environments/production.rb
config/environments/production.rb
+6
-0
No files found.
config/environments/production.rb
View file @
2b088b9f
...
@@ -33,6 +33,12 @@ Gitlab::Application.configure do
...
@@ -33,6 +33,12 @@ Gitlab::Application.configure do
# See everything in the log (default is :info)
# See everything in the log (default is :info)
# config.log_level = :debug
# config.log_level = :debug
# Suppress 'Rendered template ...' messages in the log
# source: http://stackoverflow.com/a/16369363
%w{render_template render_partial render_collection}
.
each
do
|
event
|
ActiveSupport
::
Notifications
.
unsubscribe
"
#{
event
}
.action_view"
end
# Prepend all log lines with the following tags
# Prepend all log lines with the following tags
# config.log_tags = [ :subdomain, :uuid ]
# config.log_tags = [ :subdomain, :uuid ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment