Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

open
nobody
None
5
2009-10-20
2009-10-20
Anders Hammar
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 3 .. 5 > >> (Page 1 of 5)

  • 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
    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 14 hours ago
  • 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

     
  • 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

     
  • cool, thanks!
    peter

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

     
  • Very good article post.Really thank you! Great.

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

     
1 2 3 .. 5 > >> (Page 1 of 5)