Skip to content

Commit bc0ba12

Browse files
authored
Add back "SetSystemLog" to be used for AppDB (#1043)
1 parent f0fe7d2 commit bc0ba12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/automationconfig/automation_config.go

+6
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ func (p *Process) SetReplicaSetName(replSetName string) *Process {
9494
return p.SetArgs26Field("replication.replSetName", replSetName)
9595
}
9696

97+
func (p *Process) SetSystemLog(systemLog SystemLog) *Process {
98+
return p.SetArgs26Field("systemLog.path", systemLog.Path).
99+
SetArgs26Field("systemLog.destination", systemLog.Destination).
100+
SetArgs26Field("systemLog.logAppend", systemLog.LogAppend)
101+
}
102+
97103
func (p *Process) SetWiredTigerCache(cacheSizeGb *float32) *Process {
98104
if cacheSizeGb == nil {
99105
return p

0 commit comments

Comments
 (0)