<div><div dir="auto">Hi rafael,</div></div><div dir="auto"><br></div><div dir="auto">See as below. (Referred from <div><a href="https://open5gs.org/open5gs/docs/guide/04-troubleshooting/">https://open5gs.org/open5gs/docs/guide/04-troubleshooting/</a>)</div><div dir="auto"><br></div><div dir="auto">Thanks!</div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="container" style="box-sizing:border-box;width:375px;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto"><div class="text-justify" itemprop="articleBody" id="content" style="box-sizing:border-box;text-align:justify!important"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:1rem">You can modify the configuration file to record more logs.</p><div class="language-diff highlighter-rouge" style="box-sizing:border-box"><div class="highlight" style="box-sizing:border-box"><pre class="highlight" style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:14px;margin-top:0px;margin-bottom:1rem;overflow:auto;color:rgb(33,37,41);border:1px solid rgb(233,236,239);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;background-color:rgb(248,249,250);padding:0.75rem;white-space:pre-wrap"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;color:inherit;word-break:normal"><span class="gh" style="box-sizing:border-box;color:rgb(153,153,153)">diff -u /etc/open5gs/mme.yaml.old /etc/open5gs/mme.yaml
</span><span class="gd" style="box-sizing:border-box;color:rgb(0,0,0);background-color:rgb(255,221,221)">--- mme.yaml.old       2018-04-15 18:28:31.000000000 +0900
</span><span class="gi" style="box-sizing:border-box;color:rgb(0,0,0);background-color:rgb(221,255,221)">+++ mme.yaml   2018-04-15 19:53:10.000000000 +0900
</span><span class="p" style="box-sizing:border-box">@@ -2,6 +2,7 @@</span>

 logger:
     file: /var/log/open5gs/mme.log
<span class="gi" style="box-sizing:border-box;color:rgb(0,0,0);background-color:rgb(221,255,221)">+    level: debug
</span>
 parameter:
</code></pre></div></div><p style="box-sizing:border-box;margin-top:0px;margin-bottom:1rem">After changing conf files, please restart Open5GS daemons.</p><div class="language-bash highlighter-rouge" style="box-sizing:border-box"><div class="highlight" style="box-sizing:border-box"><pre class="highlight" style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:14px;margin-top:0px;margin-bottom:1rem;overflow:auto;color:rgb(33,37,41);border:1px solid rgb(233,236,239);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;background-color:rgb(248,249,250);padding:0.75rem;white-space:pre-wrap"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;color:inherit;word-break:normal"><span class="nv" style="box-sizing:border-box;color:teal">$ </span><span class="nb" style="box-sizing:border-box;color:rgb(0,134,179)">sudo </span>systemctl restart open5gs-mmed
<span class="nv" style="box-sizing:border-box;color:teal">$ </span><span class="nb" style="box-sizing:border-box;color:rgb(0,134,179)">sudo </span>systemctl restart open5gs-sgwd
</code></pre></div></div></div></div><div class="container" style="box-sizing:border-box;width:375px;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;color:rgb(33,37,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji""></div><br class="Apple-interchange-newline"></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020년 2월 29일 (토) 오전 2:53, Rafael Diniz <<a href="mailto:rafael@rhizomatica.org">rafael@rhizomatica.org</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Spencer!<br>
<br>
I'm willing if I should use the "-e", "-m", "-d" and "-t" in the systemd<br>
open5gs-* service files for a more verbose output.<br>
<br>
juba<br>
<br>
On 2/28/20 1:40 PM, Spencer Sevilla wrote:<br>
> Hi Juba!<br>
><br>
> If open5gs is running as a systemd service (the default if you installed with apt-get) you should use journalctl. The relevant systemd service names are open5gs-hssd, open5gs-mmed, open5gs-sgwd, open5gs-pgwd, and open5gs-pcrfd. If you built them from source, they will output all information in the terminal window you’re running them in, and will also write to log files located in {installation_directory}/var/log/open5gs/.<br>
><br>
> To see all the journalctl logs in one terminal: “sudo journalctl -f -u open5gs-hssd -u open5gs-mmed -u open5gs-pgwd -u open5gs-sgwd -u open5gs-pcrfd"<br>
><br>
>> On Feb 28, 2020, at 06:58, Rafael Diniz <<a href="mailto:rafael@rhizomatica.org" target="_blank">rafael@rhizomatica.org</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> Which cmd line should I use to get all the debug information possible<br>
>> from the EPC components?<br>
>><br>
>> Thanks,<br>
>> Rafael Diniz<br>
>><br>
>><br>
<br>
</blockquote></div></div>