[Solved-3 Solutions] How to keep PIG job log file when it is successful ?
Problem:
How to keep PIG job log file when it is successful ?
Solution 1:
By default errors are logged to pig.logfile which can be set in $PIG_HOME/conf/pig.properties. If we want to log status messages also, then we have to prepare a valid log4j properties
E.g: rename log4j.properties.template to log4j.properties in $PIG_HOME/conf and Set the following:
Solution 2:
Once the log4j.properties file is prepared, we have to open the pig.properties file
Related Searches to How to keep PIG job log file when it is successful.
log processing using piglog file analysis using pigapache pig case studypig real time exampleshadoop log analysis examplespig loggingweblog analysis using apache pigweb log analysis using hive