You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Erez Nahir (JIRA)" <ji...@codehaus.org> on 2007/11/28 13:37:57 UTC

[jira] Created: (MNG-3305) Maven should provide an option to log build's outpu to file using cmd line option

Maven should provide an option to log build's outpu to file using cmd line option
---------------------------------------------------------------------------------

                 Key: MNG-3305
                 URL: http://jira.codehaus.org/browse/MNG-3305
             Project: Maven 2
          Issue Type: Wish
          Components: Logging
            Reporter: Erez Nahir


Today, only option to get maven's build output to a file is using redirection like ">" or "tee".
While running maven from CruiseControl, it is not optional to do it.

Could be (very) nice to have a -logfile option to specify log file for the build output.
For example running mvn -logfile mylog.txt clean install will print to console and to mylog.txt
This is similar to the -logfile supported by Ant.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3305) Maven should provide an option to log build's outpu to file using cmd line option

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3305.
-----------------------------

    Resolution: Duplicate

> Maven should provide an option to log build's outpu to file using cmd line option
> ---------------------------------------------------------------------------------
>
>                 Key: MNG-3305
>                 URL: http://jira.codehaus.org/browse/MNG-3305
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Logging
>            Reporter: Erez Nahir
>
> Today, only option to get maven's build output to a file is using redirection like ">" or "tee".
> While running maven from CruiseControl, it is not optional to do it.
> Could be (very) nice to have a -logfile option to specify log file for the build output.
> For example running mvn -logfile mylog.txt clean install will print to console and to mylog.txt
> This is similar to the -logfile supported by Ant.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira