Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize log and stat #5

Merged
merged 1 commit into from
Mar 11, 2020
Merged

Initialize log and stat #5

merged 1 commit into from
Mar 11, 2020

Conversation

pepsi7959
Copy link

Log feature:

  • All log will append to file
  • Separate Application Log for tracking SIP message

Stat feature:

  • count incoming and outgoing message
  • count number of connections
  • display essential status

Updated configuration:

  ...
  <log-path>/tmp/</log-path>
  <log-filename>webrtc2sip.log</log-filename>

  <app-log-level>INFO</app-log-level>
  <app-log-path>/tmp/</app-log-path>
  <app-log-filename>app.log</app-log-filename>


  <stat-path>/tmp/</stat-path>
  <stat-filename>webrtc2sip.stat</stat-filename>
  <stat-interval>5</stat-interval><!-- seconds -->
  <reset-enable>yes</reset-enable>
  ...

@pepsi7959 pepsi7959 added the enhancement New feature or request label Mar 11, 2020
@pepsi7959 pepsi7959 self-assigned this Mar 11, 2020
@pepsi7959 pepsi7959 merged commit 961c976 into master Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant