Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos
Commits
886d9134
Commit
886d9134
authored
Aug 05, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: fix logs getting too big
parent
9ca30007
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
20 deletions
+8
-20
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+5
-5
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/mme.jinja2.cfg
software/ors-amarisoft/config/mme.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+0
-6
software/ors-amarisoft/instance-gnb.jinja2.cfg
software/ors-amarisoft/instance-gnb.jinja2.cfg
+0
-6
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
886d9134
...
@@ -24,7 +24,7 @@ md5sum = b10c10a9408a934052fd0960f31a75fc
...
@@ -24,7 +24,7 @@ md5sum = b10c10a9408a934052fd0960f31a75fc
[template-lte-enb]
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
b5a0f5e258fd91573425b00027ca11b4
md5sum =
c5a82279b6ada358c74a90c3b660bf55
[template-lte-gnb-epc]
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
...
@@ -36,7 +36,7 @@ md5sum = 2cfe5679374559ab94478b987d646d83
...
@@ -36,7 +36,7 @@ md5sum = 2cfe5679374559ab94478b987d646d83
[template-lte-gnb]
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
md5sum =
771c6b550ea558c708f207c75ff00f49
md5sum =
eabbdb8ced563180f0bba8ca06e4bac4
[template-lte-mme]
[template-lte-mme]
_update_hash_filename_ = instance-mme.jinja2.cfg
_update_hash_filename_ = instance-mme.jinja2.cfg
...
@@ -48,7 +48,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
...
@@ -48,7 +48,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum =
cd93c9c7bff2bcdd1cc01ad1cdf0c88c
md5sum =
f5848c48f573c79615f595b07c358ce8
[sib23.asn]
[sib23.asn]
filename = config/sib23.asn
filename = config/sib23.asn
...
@@ -56,7 +56,7 @@ md5sum = b377dac7f1fcf94fb9ce9ebed617f36a
...
@@ -56,7 +56,7 @@ md5sum = b377dac7f1fcf94fb9ce9ebed617f36a
[gnb.jinja2.cfg]
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
filename = config/gnb.jinja2.cfg
md5sum =
91005da479a848798d128dbfd407d2c7
md5sum =
b3fb1b32aa1b151892eeb87a03e1d152
[ltelogs.jinja2.sh]
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
filename = ltelogs.jinja2.sh
...
@@ -64,7 +64,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
...
@@ -64,7 +64,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
[mme.jinja2.cfg]
[mme.jinja2.cfg]
filename = config/mme.jinja2.cfg
filename = config/mme.jinja2.cfg
md5sum =
da10ef4c61532364c758c7845614c4d6
md5sum =
a96c33a0a2a301f204cac8642267ad97
[ims.jinja2.cfg]
[ims.jinja2.cfg]
filename = config/ims.jinja2.cfg
filename = config/ims.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
886d9134
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#define N_ANTENNA_UL 2
#define N_ANTENNA_UL 2
{
{
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
{{ directory['tmp'] }}
",
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
/dev/null
",
log_filename: "{{ directory['log'] }}/enb.log",
log_filename: "{{ directory['log'] }}/enb.log",
rf_driver: {
rf_driver: {
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
886d9134
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#define NR_LONG_PUCCH_FORMAT 2 // Values: 2, 3, 4
#define NR_LONG_PUCCH_FORMAT 2 // Values: 2, 3, 4
{
{
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
{{ directory['tmp'] }}
",
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
/dev/null
",
log_filename: "{{ directory['log'] }}/gnb.log",
log_filename: "{{ directory['log'] }}/gnb.log",
rf_driver: {
rf_driver: {
...
...
software/ors-amarisoft/config/mme.jinja2.cfg
View file @
886d9134
{
{
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
{{ directory['tmp'] }}
",
log_options: "all.level=debug,all.max_size=32,file.rotate=1G,file.path=
/dev/null
",
log_filename: "{{ directory['log'] }}/mme.log",
log_filename: "{{ directory['log'] }}/mme.log",
{% if slapparameter_dict.get('external_enb_gnb', '') %}
{% if slapparameter_dict.get('external_enb_gnb', '') %}
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
886d9134
...
@@ -5,7 +5,6 @@ parts =
...
@@ -5,7 +5,6 @@ parts =
lte-enb-config
lte-enb-config
lte-enb-service
lte-enb-service
sdr-busy-promise
sdr-busy-promise
remove-tmp
monitor-base
monitor-base
publish-connection-information
publish-connection-information
...
@@ -15,11 +14,6 @@ eggs-directory = {{ eggs_directory }}
...
@@ -15,11 +14,6 @@ eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[remove-tmp]
# Remove old logs stored in tmp directory to prevent disk from becoming full
recipe = plone.recipe.command
command = rm -rf ${directory:tmp}/*
[slap-configuration]
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration.serialised
recipe = slapos.cookbook:slapconfiguration.serialised
computer = {{ slap_connection['computer-id'] }}
computer = {{ slap_connection['computer-id'] }}
...
...
software/ors-amarisoft/instance-gnb.jinja2.cfg
View file @
886d9134
...
@@ -5,7 +5,6 @@ parts =
...
@@ -5,7 +5,6 @@ parts =
lte-gnb-config
lte-gnb-config
lte-enb-service
lte-enb-service
sdr-busy-promise
sdr-busy-promise
remove-tmp
monitor-base
monitor-base
publish-connection-information
publish-connection-information
...
@@ -15,11 +14,6 @@ eggs-directory = {{ eggs_directory }}
...
@@ -15,11 +14,6 @@ eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[remove-tmp]
# Remove old logs stored in tmp directory to prevent disk from becoming full
recipe = plone.recipe.command
command = rm -rf ${directory:tmp}/*
[slap-configuration]
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration.serialised
recipe = slapos.cookbook:slapconfiguration.serialised
computer = {{ slap_connection['computer-id'] }}
computer = {{ slap_connection['computer-id'] }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment