File tree 1 file changed +6
-6
lines changed
src/SAREhub/Commons/Service
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ abstract class ServiceSupport implements Service
19
19
public function start ()
20
20
{
21
21
if (!$ this ->isStarted ()) {
22
- $ this ->getLogger ()->info ('service starting ... ' );
22
+ $ this ->getLogger ()->notice ('service starting ... ' );
23
23
$ this ->doStart ();
24
24
$ this ->started = true ;
25
25
$ this ->stopped = false ;
26
- $ this ->getLogger ()->info ('service started ' );
26
+ $ this ->getLogger ()->notice ('service started ' );
27
27
}
28
28
}
29
29
@@ -37,7 +37,7 @@ public function tick()
37
37
try {
38
38
$ this ->stop ();
39
39
} catch (\Exception $ e2 ) {
40
- // we wants only orginal exception
40
+ // we wants only original exception
41
41
}
42
42
43
43
throw $ e ;
@@ -48,12 +48,12 @@ public function stop()
48
48
{
49
49
if ($ this ->isStarted ()) {
50
50
try {
51
- $ this ->getLogger ()->info ('service stopping ... ' );
51
+ $ this ->getLogger ()->notice ('service stopping ... ' );
52
52
$ this ->doStop ();
53
53
} finally {
54
54
$ this ->started = false ;
55
55
$ this ->stopped = true ;
56
- $ this ->getLogger ()->info ('service stopped ' );
56
+ $ this ->getLogger ()->notice ('service stopped ' );
57
57
}
58
58
}
59
59
}
@@ -114,4 +114,4 @@ protected function doStop()
114
114
{
115
115
116
116
}
117
- }
117
+ }
You can’t perform that action at this time.
0 commit comments