You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jerome Boulon (JIRA)" <ji...@apache.org> on 2009/01/22 02:12:00 UTC
[jira] Created: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Chukwa Log4JMetricsContext class should append new log to current log file
--------------------------------------------------------------------------
Key: HADOOP-5100
URL: https://issues.apache.org/jira/browse/HADOOP-5100
Project: Hadoop Core
Issue Type: Bug
Components: contrib/chukwa
Reporter: Jerome Boulon
Assignee: Jerome Boulon
Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated HADOOP-5100:
----------------------------------
Attachment: HADOOP-5100.patch
upload the patch again so that it could be picked up by Hudson
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Attachments: HADOOP-5100.patch, HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated HADOOP-5100:
----------------------------------
Status: Patch Available (was: Open)
Set append flag to true.
>From log4j Doc API
/**
The <b>Append</b> option takes a boolean value. It is set to
<code>true</code> by default. If true, then <code>File</code>
will be opened in append mode by {@link #setFile setFile} (see
above). Otherwise, {@link #setFile setFile} will open
<code>File</code> in truncate mode.
<p>Note: Actual opening of the file is made when {@link
#activateOptions} is called, not when the options are set.
*/
public
void setAppend(boolean flag) {
fileAppend = flag;
}
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Attachments: HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673989#action_12673989 ]
Hudson commented on HADOOP-5100:
--------------------------------
Integrated in Hadoop-trunk #756 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/])
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Fix For: 0.21.0
>
> Attachments: HADOOP-5100.patch, HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-5100:
----------------------------------
Resolution: Fixed
Fix Version/s: 0.21.0
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I committed this. Thanks, Jerome
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Fix For: 0.21.0
>
> Attachments: HADOOP-5100.patch, HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated HADOOP-5100:
----------------------------------
Attachment: HADOOP-5100.patch
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Attachments: HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-5100) Chukwa Log4JMetricsContext class
should append new log to current log file
Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672081#action_12672081 ]
Ari Rabkin commented on HADOOP-5100:
------------------------------------
Looks good. +1
> Chukwa Log4JMetricsContext class should append new log to current log file
> --------------------------------------------------------------------------
>
> Key: HADOOP-5100
> URL: https://issues.apache.org/jira/browse/HADOOP-5100
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/chukwa
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Attachments: HADOOP-5100.patch, HADOOP-5100.patch
>
>
> Log4JMetricsContext is setting is own appender dynamically and by doing so it's truncating the current log file. It should append to it if the file exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.