[
https://issues.apache.org/jira/browse/PIG-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000946#comment-14000946
]
Philip (flip) Kromer commented on PIG-2510:
-------------------------------------------
I think the right path should be /tmp/pig-$USER/pig-log.log for the regular
log, and /tmp/pig-$USER/pig-err.log for the error dump. (This mirrors Hadoop's
out-of-the-box choice.) Any directory you choose will be subject to disk space
concerns; that is _why_ /tmp is the correct default choice. It's unambiguous to
even the naive user that anything in /tmp is removable (in fact OSX wipes it on
reboot). It is also the first place you look and first place you wipe in a low
disk space condition. I lastly argue that anyone generating gigabytes of log
volume should welcome the reminder that Pig has settings any professional user
knows to adjust :)
> Make default location for logs in local mode /tmp
> -------------------------------------------------
>
> Key: PIG-2510
> URL: https://issues.apache.org/jira/browse/PIG-2510
> Project: Pig
> Issue Type: Improvement
> Components: grunt
> Affects Versions: 0.9.1
> Environment: *nix
> Reporter: Russell Jurney
> Priority: Minor
> Labels: fun, grunt, happy, logs, pants
>
> I hate it when logs pile up in my directory, so I always run '-l /tmp' which
> seems to be a good default directory for logs in local mode.
--
This message was sent by Atlassian JIRA
(v6.2#6252)