Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos
Commits
ad375118
Commit
ad375118
authored
Jun 18, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: check cache hit script improve output
prints only on stderr
parent
4aaadb96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/monitor-templates/monitor-check-cache-hit.in
stack/erp5/monitor-templates/monitor-check-cache-hit.in
+3
-3
No files found.
stack/erp5/buildout.cfg
View file @
ad375118
...
...
@@ -191,7 +191,7 @@ output = ${buildout:directory}/template-http-monitor.cfg.in
< = download-base
url = ${:_profile_base_location_}/monitor-templates/monitor-check-cache-hit.in
download-only = true
md5sum =
3362bea561597cd29d10d754c251c8bf
md5sum =
754a5ecf47ad1eeb044b2d621219a459
filename = monitor-check-cache-hit.in
mode = 0644
...
...
stack/erp5/monitor-templates/monitor-check-cache-hit.in
View file @
ad375118
...
...
@@ -11,13 +11,13 @@ from cStringIO import StringIO
from HTMLParser import HTMLParser
def debug(*args):
# sys.std
out
.write("DEBUG: " + "\n : ".join(" ".join((str(arg) for arg in args)).split("\n")) + "\n")
# sys.std
err
.write("DEBUG: " + "\n : ".join(" ".join((str(arg) for arg in args)).split("\n")) + "\n")
pass
def log(*args):
sys.std
out
.write(" ".join((str(arg) for arg in args)) + "\n")
sys.std
err
.write(" ".join((str(arg) for arg in args)) + "\n")
pass
def info(*args):
sys.std
out
.write("INFO : " + "\n : ".join(" ".join((str(arg) for arg in args)).split("\n")) + "\n")
sys.std
err
.write("INFO : " + "\n : ".join(" ".join((str(arg) for arg in args)).split("\n")) + "\n")
pass
last_warn_log = None
def warn(*args):
...
...
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