[ https://issues.apache.org/jira/browse/PIG-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1407: ---------------------------- Fix Version/s: (was: 0.7.0) > Logging starts before being configured > -------------------------------------- > > Key: PIG-1407 > URL: https://issues.apache.org/jira/browse/PIG-1407 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.7.0, 0.8.0 > Reporter: Gianmarco De Francisci Morales > Assignee: Gianmarco De Francisci Morales > Priority: Trivial > Fix For: 0.8.0 > > Attachments: PIG-1407.patch > > Original Estimate: 0.02h > Time Spent: 0.02h > Remaining Estimate: 0h > > Pig's Main starts logging before log4j has been configured. > This way logging messages are mixed with pig's output. > $ cat script.pig > A = LOAD 'input' AS (num:long, fruit:chararray); > DUMP A; > $ cat input > 1 orange > 2 apple > 3 coconut > 4 mango > 5 grape > 6 pear > $ pig -x local prova.pig > dump > $ cat dump > 0 [main] INFO org.apache.pig.Main - Logging error messages to: > /home/gianmarcodfm/pig-sbox/pig_1273222206353.log > (1,orange) > (2,apple) > (3,coconut) > (4,mango) > (5,grape) > (6,pear) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.