Hi Kristian,

Jenkins has not been updated to Remoting 3.8+ yet.
So the options are not available there yet. Once I integrate all the 
things, there will be examples of agent calls in Jenkins WebUI.

I will see if I can improve the documentation a bit. If you have any 
specific proposals exceptiong commandline options, please do not hesitate 
to create issues in JIRA or to respond to this thread. Pull requests will 
be always appreciated.


"-Djava.util.logging.config.
> file="D:\\log.txt"" to a Windows Slave in 
> Jenkins / JVM Options for that slave. But after restart the slave (so, 
> closing the JNLP and starting again) and after starting a new job, I 
> did not see any log.txt in D:\ 
>

Here you pass the log destination to the configuration file. It is not how 
the configuration file work. The current documentation provides two links 
with examples: "See details about the property file format in Oracle 
documentation 
<https://docs.oracle.com/cd/E19717-01/819-7753/6n9m71435/index.html> and this 
guide <http://tutorials.jenkov.com/java-logging/configuration.html>. Note 
that ConsoleHandler won't be enabled by default if this option is 
specified.", so I am not sure what was the problem there 

Best regards,
Oleg Nenashev

воскресенье, 21 мая 2017 г., 21:31:51 UTC+2 пользователь Kristian X написал:
>
> Hi, 
>
> a question: I've just read the documentation in Jenkins Remoting about 
> work dir (
> https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md) 
> and logging (
> https://github.com/jenkinsci/remoting/blob/master/docs/logging.md). 
> In my opinion, this documentation is lacking. 
>
> For example: Where should I put these parameters like -workDir or 
> -loggingConfig? What to do after adding these parameter? What can I 
> expect? An example or several examples would be really helpful. 
>
> For example: I've just added the parameter 
> "-Djava.util.logging.config.file="D:\\log.txt"" to a Windows Slave in 
> Jenkins / JVM Options for that slave. But after restart the slave (so, 
> closing the JNLP and starting again) and after starting a new job, I 
> did not see any log.txt in D:\ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/09398f7c-3893-46b2-9375-e990a8a39cdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to