diff --git a/configs/open5gs/amf.yaml.in b/configs/open5gs/amf.yaml.in index 4f9dbf544..24e2c9757 100644 --- a/configs/open5gs/amf.yaml.in +++ b/configs/open5gs/amf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/amf.log + file: + path: @localstatedir@/log/open5gs/amf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/ausf.yaml.in b/configs/open5gs/ausf.yaml.in index a7330403a..db4c79f57 100644 --- a/configs/open5gs/ausf.yaml.in +++ b/configs/open5gs/ausf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/ausf.log + file: + path: @localstatedir@/log/open5gs/ausf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/bsf.yaml.in b/configs/open5gs/bsf.yaml.in index 95a6d93da..37ceced21 100644 --- a/configs/open5gs/bsf.yaml.in +++ b/configs/open5gs/bsf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/bsf.log + file: + path: @localstatedir@/log/open5gs/bsf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/hss.yaml.in b/configs/open5gs/hss.yaml.in index 2e304c021..2816bb818 100644 --- a/configs/open5gs/hss.yaml.in +++ b/configs/open5gs/hss.yaml.in @@ -1,6 +1,7 @@ db_uri: mongodb://localhost/open5gs logger: - file: @localstatedir@/log/open5gs/hss.log + file: + path: @localstatedir@/log/open5gs/hss.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/mme.yaml.in b/configs/open5gs/mme.yaml.in index 5acf05fdc..87c251b9d 100644 --- a/configs/open5gs/mme.yaml.in +++ b/configs/open5gs/mme.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/mme.log + file: + path: @localstatedir@/log/open5gs/mme.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/nrf.yaml.in b/configs/open5gs/nrf.yaml.in index cd9e45feb..e082c0fb8 100644 --- a/configs/open5gs/nrf.yaml.in +++ b/configs/open5gs/nrf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/nrf.log + file: + path: @localstatedir@/log/open5gs/nrf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/nssf.yaml.in b/configs/open5gs/nssf.yaml.in index d185be250..258ff7825 100644 --- a/configs/open5gs/nssf.yaml.in +++ b/configs/open5gs/nssf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/nssf.log + file: + path: @localstatedir@/log/open5gs/nssf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/pcf.yaml.in b/configs/open5gs/pcf.yaml.in index 2df2e9a36..afe96458b 100644 --- a/configs/open5gs/pcf.yaml.in +++ b/configs/open5gs/pcf.yaml.in @@ -1,6 +1,7 @@ db_uri: mongodb://localhost/open5gs logger: - file: @localstatedir@/log/open5gs/pcf.log + file: + path: @localstatedir@/log/open5gs/pcf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/pcrf.yaml.in b/configs/open5gs/pcrf.yaml.in index 4cf913ab6..7ffa36990 100644 --- a/configs/open5gs/pcrf.yaml.in +++ b/configs/open5gs/pcrf.yaml.in @@ -1,6 +1,7 @@ db_uri: mongodb://localhost/open5gs logger: - file: @localstatedir@/log/open5gs/pcrf.log + file: + path: @localstatedir@/log/open5gs/pcrf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/scp.yaml.in b/configs/open5gs/scp.yaml.in index 3388d8b05..3d80497eb 100644 --- a/configs/open5gs/scp.yaml.in +++ b/configs/open5gs/scp.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/scp.log + file: + path: @localstatedir@/log/open5gs/scp.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/sepp1.yaml.in b/configs/open5gs/sepp1.yaml.in index 7ff9dde81..afa276a35 100644 --- a/configs/open5gs/sepp1.yaml.in +++ b/configs/open5gs/sepp1.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/sepp1.log + file: + path: @localstatedir@/log/open5gs/sepp1.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/sepp2.yaml.in b/configs/open5gs/sepp2.yaml.in index 9a381ca5d..fc78fb256 100644 --- a/configs/open5gs/sepp2.yaml.in +++ b/configs/open5gs/sepp2.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/sepp2.log + file: + path: @localstatedir@/log/open5gs/sepp2.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/sgwc.yaml.in b/configs/open5gs/sgwc.yaml.in index 9ccdaa0e8..bb8fee70e 100644 --- a/configs/open5gs/sgwc.yaml.in +++ b/configs/open5gs/sgwc.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/sgwc.log + file: + path: @localstatedir@/log/open5gs/sgwc.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/sgwu.yaml.in b/configs/open5gs/sgwu.yaml.in index 9d72c92f8..dc9054260 100644 --- a/configs/open5gs/sgwu.yaml.in +++ b/configs/open5gs/sgwu.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/sgwu.log + file: + path: @localstatedir@/log/open5gs/sgwu.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/smf.yaml.in b/configs/open5gs/smf.yaml.in index 890d3ca94..3ec2fb648 100644 --- a/configs/open5gs/smf.yaml.in +++ b/configs/open5gs/smf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/smf.log + file: + path: @localstatedir@/log/open5gs/smf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/udm.yaml.in b/configs/open5gs/udm.yaml.in index 9af015c00..a6a718094 100644 --- a/configs/open5gs/udm.yaml.in +++ b/configs/open5gs/udm.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/udm.log + file: + path: @localstatedir@/log/open5gs/udm.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/udr.yaml.in b/configs/open5gs/udr.yaml.in index 2c2e57bee..f8fd4250c 100644 --- a/configs/open5gs/udr.yaml.in +++ b/configs/open5gs/udr.yaml.in @@ -1,6 +1,7 @@ db_uri: mongodb://localhost/open5gs logger: - file: @localstatedir@/log/open5gs/udr.log + file: + path: @localstatedir@/log/open5gs/udr.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/configs/open5gs/upf.yaml.in b/configs/open5gs/upf.yaml.in index b368e41b2..d7c6d5648 100644 --- a/configs/open5gs/upf.yaml.in +++ b/configs/open5gs/upf.yaml.in @@ -1,5 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/upf.log + file: + path: @localstatedir@/log/open5gs/upf.log # level: info # fatal|error|warn|info(default)|debug|trace global: diff --git a/docs/_docs/troubleshoot/01-simple-issues.md b/docs/_docs/troubleshoot/01-simple-issues.md index bed0d10ca..c8a7d9018 100644 --- a/docs/_docs/troubleshoot/01-simple-issues.md +++ b/docs/_docs/troubleshoot/01-simple-issues.md @@ -169,7 +169,8 @@ index a70143f08..e0dba560c 100644 +++ b/configs/open5gs/amf.yaml.in @@ -1,6 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/amf.log + file: + path: @localstatedir@/log/open5gs/amf.log -# level: info # fatal|error|warn|info(default)|debug|trace + level: debug diff --git a/docs/_docs/troubleshoot/02-now-in-github-issues.md b/docs/_docs/troubleshoot/02-now-in-github-issues.md index 8517632a3..06b26c352 100644 --- a/docs/_docs/troubleshoot/02-now-in-github-issues.md +++ b/docs/_docs/troubleshoot/02-now-in-github-issues.md @@ -485,7 +485,8 @@ index a70143f08..e0dba560c 100644 +++ b/configs/open5gs/amf.yaml.in @@ -1,6 +1,6 @@ logger: - file: @localstatedir@/log/open5gs/amf.log + file: + path: @localstatedir@/log/open5gs/amf.log -# level: info # fatal|error|warn|info(default)|debug|trace + level: debug diff --git a/docs/_docs/tutorial/05-roaming.md b/docs/_docs/tutorial/05-roaming.md index 108d4d421..e9f0b3a69 100644 --- a/docs/_docs/tutorial/05-roaming.md +++ b/docs/_docs/tutorial/05-roaming.md @@ -92,7 +92,8 @@ NRF shall follow TS23.003(28.3.2.3.2 Format of NRF FQDN) for routing. ```bash $ sh -c 'cat << EOF > ./install/etc/open5gs/h-nrf.yaml logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/h-nrf.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/h-nrf.log # level: info # fatal|error|warn|info(default)|debug|trace global: @@ -116,7 +117,8 @@ EOF' ```bash $ sh -c 'cat << EOF > ./install/etc/open5gs/h-scp.yaml logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/h-scp.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/h-scp.log # level: info # fatal|error|warn|info(default)|debug|trace global: @@ -302,7 +304,8 @@ $ diff -u ./install/etc/open5gs/pcf.yaml.old ./install/etc/open5gs/pcf.yaml @@ -1,4 +1,3 @@ -db_uri: mongodb://localhost/open5gs logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/pcf.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/pcf.log # level: info # fatal|error|warn|info(default)|debug|trace @@ -22,6 +21,29 @@ server: @@ -646,7 +649,8 @@ For now we will set up SEPP without using TLS. ```bash $ sh -c 'cat << EOF > ./install/etc/open5gs/sepp.yaml logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log # level: info # fatal|error|warn|info(default)|debug|trace max: @@ -966,7 +970,8 @@ For now we will set up SEPP without using TLS. ```bash $ sh -c 'cat << EOF > ./install/etc/open5gs/sepp.yaml logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log # level: info # fatal|error|warn|info(default)|debug|trace max: @@ -1286,7 +1291,8 @@ For now we will set up SEPP without using TLS. ```bash $ sh -c 'cat << EOF > ./install/etc/open5gs/sepp.yaml logger: - file: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log + file: + path: /home/acetcom/Documents/git/open5gs/install/var/log/open5gs/sepp.log # level: info # fatal|error|warn|info(default)|debug|trace max: diff --git a/docs/_posts/2020-03-25-release-v1.2.2.md b/docs/_posts/2020-03-25-release-v1.2.2.md index 7d82e8fa7..a540d51ce 100644 --- a/docs/_posts/2020-03-25-release-v1.2.2.md +++ b/docs/_posts/2020-03-25-release-v1.2.2.md @@ -25,7 +25,8 @@ Example of sgw.yaml to use this feature: ``` logger: - file: /var/log/open5gs/sgw.log + file: + path: /var/log/open5gs/sgw.log level: debug parameter: