Menu

#239 Put log files in better location (maven plugin)

open
nobody
None
5
2009-10-20
2009-10-20
No

When executing soapUI through the Maven plugin, the log files (soapui.log and soapui-errors.log) are put in the directory from where executed. When using Maven, that's not the expected behavior as everything produced should go in the configured build directory (most often 'target'). Could that be implemented for soapUI maven plugin as well? I believe it would be great to have the location configurable as well (with the default value of '${project.build.directory/soapui-logs' or maybe the directory configured as outputFolder).

Discussion

1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2010-06-30

    There is an almost complete solution for doing this with version 3.5.1 (probably works with earlier versions too): For putting the files 'soapui.log' and 'soapui-errors.log' to the directory specified in the feature request details, configure the maven plugin in your POM as followed:
    ...
    <plugin>
    <groupId>eviware</groupId>
    <artifactId>maven-soapui-plugin</artifactId>
    <version>3.5.1</version>
    ...
    <configuration>
    <soapuiProperties>
    <property>
    <name>soapui.logroot</name>
    <value>${project.build.directory}/soapui-logs/</value>
    </property>
    </soapuiProperties>
    </configuration>
    ...
    </plugin>
    ...

    Unfortunately a third log file called 'groovy-global.log' is still put in the current working directory. This could be easily fixed by changing the definition of the GLOBAL_GROOVY_LOG appender in com/eviware/soapui/resources/conf/log4j.xml:

    Change line 56:
    Old: <param name="File" value="global-groovy.log"/>
    New: <param name="File" value="${soapui.logroot}global-groovy.log"/>

    Can anyone please commit this change to the repository?

    Cheers,
    Matthias

     

    Last edit: Anonymous 2014-03-15
  • Anonymous

    Anonymous - 2011-01-11

    Pounds troubles is really a significant health situation that have to certainly be worked with while in the earliest doable time. Persons who are suffering away from this disorder might just take action inside the surgeons perform or any other cosmetic surgical procedure therapies readily available. These processes may be the extremely first steps properly right into a extra healthy existence.Proven Attention deficit hyperactivity disorder Items - Drugs & Pure Therapies - What's best
    http://ntpinstitute.org/AboutUss.asp

     

    Last edit: Anonymous 2017-06-06
  • Anders Hammar

    Anders Hammar - 2011-01-18

    The thing with Maven is that it is driven by conventions. Defaults should be good and follow conventions. Anything produced by Maven should be put below ${project.build.directory} by default, I shouldn't have to configure this.
    So the soapui.logroot property should be configured appropriately by default by the soapui plugin IMO.

     
  • Ole Lensmar

    Ole Lensmar - 2011-01-28

    Hi Mattias,

    thanks for this, the change has been made to the config file and should be in the 3.6.2-SNAPSHOT versions of the maven plugins

    regards!
    /Ole
    eviware.com

     
  • Nobody/Anonymous

    Hi Ole,
    unfortunately it seems that the change vanished again from the 4.0.0 version.
    Any chance that this fix will be reintroduced again?
    (and +1 for afloom's remark. i think this should be configurable as it is but it should not have to be configured)
    Regards, Peter

     
  • nebule

    nebule - 2011-07-07

    Hi,

    thanks for reporting this, it is in our backlog and will be fixed hopefully soon.

    //nebojsa

     
  • Nobody/Anonymous

    cool, thanks!
    peter

     
  • Nobody/Anonymous

    Jwy9HE I appreciate you sharing this article post.Really looking forward to read more. Awesome.

     
  • Nobody/Anonymous

    Very good article post.Really thank you! Great.

     
  • Nobody/Anonymous

    Thanks so much for the post.Really looking forward to read more. Keep writing.

     
  • Nobody/Anonymous

    I appreciate you sharing this article post.Thanks Again. Keep writing.

     
  • Nobody/Anonymous

    I am so grateful for your blog post.Really looking forward to read more.

     
  • Nobody/Anonymous

    I value the blog. Will read on...

     
  • Nobody/Anonymous

    This is one awesome blog article. Fantastic.

     
  • Nobody/Anonymous

    I cannot thank you enough for the article.Much thanks again. Really Cool.

     
  • Nobody/Anonymous

    I really like and appreciate your post. Will read on...

     
  • Nobody/Anonymous

    Thank you for your article post.Much thanks again. Really Great.

     
  • Nobody/Anonymous

    Appreciate you sharing, great article post.Really thank you! Much obliged.

     
  • Nobody/Anonymous

    Im thankful for the article.Really looking forward to read more. Will read on...

     
  • Nobody/Anonymous

    Very neat article.

     
  • Nobody/Anonymous

    Looking forward to reading more. Great post.Thanks Again. Much obliged.

     
  • Nobody/Anonymous

    Great, thanks for sharing this blog article.Thanks Again. Keep writing.

     
  • Nobody/Anonymous

    Thanks for the blog article. Want more.

     
  • Nobody/Anonymous

    Very neat article.Much thanks again. Really Great.

     
  • Nobody/Anonymous

    Really appreciate you sharing this blog.Thanks Again. Keep writing.

     
1 2 > >> (Page 1 of 2)