Ask Your Question
1

setting to limit sdc.log

asked 2018-09-05 16:46:55 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Is there a way to limit the size/number of sdc.log files? Currently my log directory is sitting at 14 GB with 7 instances of sdc.log files each about 2 GB

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2018-09-05 17:09:42 -0500

jeff gravatar image

You can modify the log4j settings that control the number of retained files and size of each. In particular, that would be these properties (shown below with the defaults)

log4j.appender.streamsets.MaxFileSize=256MB
log4j.appender.streamsets.MaxBackupIndex=10

These properties can be found in the log4j configuration discussed in the documentation.

edit flag offensive delete link more
0

answered 2018-09-06 10:31:09 -0500

Vikas gravatar image

thank you.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-09-05 16:46:55 -0500

Seen: 96 times

Last updated: Sep 06