1.output stream to the file being flushed with each append operation.
2.to set the platform-specific encoding scheme.
3.to set the threshold level for this appender.
4.to set the name of the log file.
Answer:1