Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
17c4c44c
Commit
17c4c44c
authored
9 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
Fix running message to show on loglevel 0
parent
1f88e3e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/rocketchat-logger/server.coffee
+15
-3
15 additions, 3 deletions
packages/rocketchat-logger/server.coffee
server/startup/serverRunning.coffee
+1
-1
1 addition, 1 deletion
server/startup/serverRunning.coffee
with
16 additions
and
4 deletions
packages/rocketchat-logger/server.coffee
+
15
−
3
View file @
17c4c44c
...
...
@@ -90,7 +90,7 @@
method
:
typeConfig
.
name
arguments
:
args
@
[
type
+
"
B
ox"
]
=
(
args
...)
=>
@
[
type
+
"
_b
ox"
]
=
(
args
...)
=>
@
_log
type
:
type
box
:
true
...
...
@@ -110,7 +110,15 @@
@
[
method
]
=
(
args
...)
=>
@
_log
type
:
typeConfig
.
type
level
:
if
typeConfig
.
level
?
then
typeConfig
.
level
?
else
@
defaultTypes
[
typeConfig
.
type
]
?
.
level
level
:
if
typeConfig
.
level
?
then
typeConfig
.
level
else
@
defaultTypes
[
typeConfig
.
type
]
?
.
level
method
:
method
arguments
:
args
@
[
method
+
"_box"
]
=
(
args
...)
=>
@
_log
type
:
typeConfig
.
type
box
:
true
level
:
if
typeConfig
.
level
?
then
typeConfig
.
level
else
@
defaultTypes
[
typeConfig
.
type
]
?
.
level
method
:
method
arguments
:
args
...
...
@@ -255,7 +263,11 @@
return
@
SystemLogger
=
new
Logger
'System'
@
SystemLogger
=
new
Logger
'System'
,
methods
:
startup
:
type
:
'success'
level
:
0
processString
=
(
string
,
date
)
->
...
...
This diff is collapsed.
Click to expand it.
server/startup/serverRunning.coffee
+
1
−
1
View file @
17c4c44c
...
...
@@ -6,5 +6,5 @@ Meteor.startup ->
" Site URL:
#{
RocketChat
.
settings
.
get
(
'Site_Url'
)
}
"
].
join
(
'
\n
'
)
SystemLogger
.
s
uccessB
ox
msg
,
'SERVER RUNNING'
SystemLogger
.
s
tartup_b
ox
msg
,
'SERVER RUNNING'
,
100
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment