Skip to content

Commit fb3e5d2

Browse files
Procratnpalm
authored andcommitted
fix: ubuntu example to log syslog instead of messages (#785)
Unlike RHEL and CentOS, Ubuntu writes logs to /var/log/syslog instead of to /var/log/messages. This might have been different in the past.
1 parent 86e9006 commit fb3e5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ubuntu/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ module "runners" {
5151

5252
runner_log_files = [
5353
{
54-
"log_group_name" : "messages",
54+
"log_group_name" : "syslog",
5555
"prefix_log_group" : true,
56-
"file_path" : "/var/log/messages",
56+
"file_path" : "/var/log/syslog",
5757
"log_stream_name" : "{instance_id}"
5858
},
5959
{

0 commit comments

Comments
 (0)