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

how to configure pcscf/scscf/icscf log correctly? #36

Open
lglhust opened this issue Dec 12, 2023 · 1 comment
Open

how to configure pcscf/scscf/icscf log correctly? #36

lglhust opened this issue Dec 12, 2023 · 1 comment

Comments

@lglhust
Copy link

lglhust commented Dec 12, 2023

Hi herlesupreeth:
I have set up volte environment according to docs/tutorial/02-VoLTE-setup/. Volte is successful.
But i don't know how to configure pcscf/scscf/icscf log in different log files and display the log timestamp.
I tried to use rsyslog , add following in kamailio_pcscf.cfg/kamailio_scscf.cfg/kamailio_icscf.cfg/:
log_facility=LOG_LOCAL0
log_prefix="{$mt $hdr(CSeq) $ci}

And add "local0.* -/var/log/kamailio.log" to /etc/rsyslog.conf. I really get all log with timestamp but only in one log file promiscuously.

Is there other better ways to display timestamp to log and get three logs for pcscf, scscf, icscf respectively?
Thanks a lot.

@herlesupreeth
Copy link
Owner

Hey @lglhust, I havent tinkered with logging much but you can refer to the xlog module in this link - https://kamailio.org/docs/modules/5.3.x/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants