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

Where to find kamailio pcscf logs? #379

Open
nishant412 opened this issue Oct 10, 2024 · 1 comment
Open

Where to find kamailio pcscf logs? #379

nishant412 opened this issue Oct 10, 2024 · 1 comment

Comments

@nishant412
Copy link

Hi,

I see that pcscf log messages are printed to stdout. However I can't seem to find the full logs anywhere. I can see logs for all the open5gs components, but not for the kamailio related components. For instance I see these logs printed onto the console

pcscf      | 98(139) NOTICE: <script>: OPTIONS to sip:[email protected]:50001;transport=tcp via sip:192.168.101.2:50001;transport=tcp...
pcscf      | 
pcscf      | 104(145) NOTICE: <script>: request sent to sip:[email protected]:50001;transport=tcp completed with code: 200, Type 1
pcscf      | 
osmomsc    | 20241010121152386 DLINP <0019> stream_cli.c:1044 CLICONN(asp-clnt-OsmoMSC-A-Iu,){WAIT_RECONNECT} reconnecting
osmomsc    | 20241010121152386 DLINP <0019> stream_cli.c:137 CLICONN(asp-clnt-OsmoMSC-A-Iu,){WAIT_RECONNECT} retrying reconnect in 5 seconds...
pcscf      | 98(139) NOTICE: <script>: OPTIONS to sip:[email protected]:50001;transport=tcp via sip:192.168.101.2:50001;transport=tcp...
pcscf      | 
pcscf      | 104(145) NOTICE: <script>: request sent to sip:[email protected]:50001;transport=tcp completed with code: 200, Type 1
pcscf      | 

I looked in the /open5gs/install/var/log/open5gs but they only seem to have open5gs components specific logs. I looked at kamailio_pcscf.cfg but don't see an obvious log to file mentioned there. I checked through /var/log/ in pcscf container, bunch of logs there but not containing these messages

Really appreciate any guidance on this.

Thanks in advance

@herlesupreeth
Copy link
Owner

Good point.. I dont think kamailio logs are piped to a log file (I maybe wrong). But if you want only the logs of P-CSCF you could do docker logs pcscf

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