Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
d1273b9e
Commit
d1273b9e
authored
Oct 19, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made LogManager restartable
parent
35729ede
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
logging.py
blink/logging.py
+2
-1
No files found.
blink/logging.py
View file @
d1273b9e
...
@@ -74,7 +74,7 @@ class LogManager(object):
...
@@ -74,7 +74,7 @@ class LogManager(object):
self
.
msrptrace_file
=
Null
self
.
msrptrace_file
=
Null
self
.
pjsiptrace_file
=
Null
self
.
pjsiptrace_file
=
Null
self
.
notifications_file
=
Null
self
.
notifications_file
=
Null
self
.
event_queue
=
EventQueue
(
handler
=
self
.
_process_notification
,
name
=
'Log handling'
)
self
.
event_queue
=
Null
self
.
_lock
=
Null
self
.
_lock
=
Null
self
.
_siptrace_start_time
=
None
self
.
_siptrace_start_time
=
None
self
.
_siptrace_packet_count
=
None
self
.
_siptrace_packet_count
=
None
...
@@ -94,6 +94,7 @@ class LogManager(object):
...
@@ -94,6 +94,7 @@ class LogManager(object):
self
.
_lock
=
RLock
()
self
.
_lock
=
RLock
()
self
.
_siptrace_start_time
=
datetime
.
now
()
self
.
_siptrace_start_time
=
datetime
.
now
()
self
.
_siptrace_packet_count
=
0
self
.
_siptrace_packet_count
=
0
self
.
event_queue
=
EventQueue
(
handler
=
self
.
_process_notification
,
name
=
'Log handling'
)
self
.
event_queue
.
start
()
self
.
event_queue
.
start
()
def
stop
(
self
):
def
stop
(
self
):
...
...
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