summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijia <[email protected]>2020-10-04 12:09:08 +0800
committerlijia <[email protected]>2020-10-04 12:09:08 +0800
commitd12ad83a58c80c8b0cece4ab21cb86982655cf69 (patch)
tree169a5eeccc07bbccc0def3ed0d3ad2870c983ff6
parent6c2cf7527155cc915b0ccedaf91e1535c8d51c54 (diff)
更新hostname格式, 例如:ABC-M01R15N01-ADC004-MCN0
-rw-r--r--roles/tsg-cli-mcn0/files/rsyslog.conf2
-rw-r--r--roles/tsg-cli-mcn1/files/rsyslog.conf2
-rw-r--r--roles/tsg-cli-mcn2/files/rsyslog.conf2
-rw-r--r--roles/tsg-cli-mcn3/files/rsyslog.conf2
-rw-r--r--roles/tsg-cli-mxn/files/rsyslog.conf2
5 files changed, 5 insertions, 5 deletions
diff --git a/roles/tsg-cli-mcn0/files/rsyslog.conf b/roles/tsg-cli-mcn0/files/rsyslog.conf
index 9da82b0..04c7065 100644
--- a/roles/tsg-cli-mcn0/files/rsyslog.conf
+++ b/roles/tsg-cli-mcn0/files/rsyslog.conf
@@ -27,7 +27,7 @@ $WorkDirectory /var/lib/rsyslog
# Use default timestamp format
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
-$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:3%:<%PRI%> [%syslogseverity-text%] %msg%\n"
+$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:4%:<%PRI%> [%syslogseverity-text%] %msg%\n"
$ActionFileDefaultTemplate tsgformat
# File syncing capability is disabled by default. This feature is usually not required,
diff --git a/roles/tsg-cli-mcn1/files/rsyslog.conf b/roles/tsg-cli-mcn1/files/rsyslog.conf
index 9da82b0..04c7065 100644
--- a/roles/tsg-cli-mcn1/files/rsyslog.conf
+++ b/roles/tsg-cli-mcn1/files/rsyslog.conf
@@ -27,7 +27,7 @@ $WorkDirectory /var/lib/rsyslog
# Use default timestamp format
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
-$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:3%:<%PRI%> [%syslogseverity-text%] %msg%\n"
+$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:4%:<%PRI%> [%syslogseverity-text%] %msg%\n"
$ActionFileDefaultTemplate tsgformat
# File syncing capability is disabled by default. This feature is usually not required,
diff --git a/roles/tsg-cli-mcn2/files/rsyslog.conf b/roles/tsg-cli-mcn2/files/rsyslog.conf
index 9da82b0..04c7065 100644
--- a/roles/tsg-cli-mcn2/files/rsyslog.conf
+++ b/roles/tsg-cli-mcn2/files/rsyslog.conf
@@ -27,7 +27,7 @@ $WorkDirectory /var/lib/rsyslog
# Use default timestamp format
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
-$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:3%:<%PRI%> [%syslogseverity-text%] %msg%\n"
+$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:4%:<%PRI%> [%syslogseverity-text%] %msg%\n"
$ActionFileDefaultTemplate tsgformat
# File syncing capability is disabled by default. This feature is usually not required,
diff --git a/roles/tsg-cli-mcn3/files/rsyslog.conf b/roles/tsg-cli-mcn3/files/rsyslog.conf
index 9da82b0..04c7065 100644
--- a/roles/tsg-cli-mcn3/files/rsyslog.conf
+++ b/roles/tsg-cli-mcn3/files/rsyslog.conf
@@ -27,7 +27,7 @@ $WorkDirectory /var/lib/rsyslog
# Use default timestamp format
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
-$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:3%:<%PRI%> [%syslogseverity-text%] %msg%\n"
+$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:4%:<%PRI%> [%syslogseverity-text%] %msg%\n"
$ActionFileDefaultTemplate tsgformat
# File syncing capability is disabled by default. This feature is usually not required,
diff --git a/roles/tsg-cli-mxn/files/rsyslog.conf b/roles/tsg-cli-mxn/files/rsyslog.conf
index a5127fe..3f4f97c 100644
--- a/roles/tsg-cli-mxn/files/rsyslog.conf
+++ b/roles/tsg-cli-mxn/files/rsyslog.conf
@@ -27,7 +27,7 @@ $WorkDirectory /var/lib/rsyslog
# Use default timestamp format
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
-$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:3%:<%PRI%> [%syslogseverity-text%] %msg%\n"
+$template tsgformat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME:F,45:4%:<%PRI%> [%syslogseverity-text%] %msg%\n"
$ActionFileDefaultTemplate tsgformat
# File syncing capability is disabled by default. This feature is usually not required,