El día miércoles, julio 26, 2023 a las 11:49:51 +0200, 'Daniel Beck' via 
Jenkins Users escribió:

> On Wed, Jul 26, 2023 at 11:21 AM Matthias Apitz <[email protected]> wrote:
> 
> > The jenkins server itself is requesting data from two servers in
> > Internet:
> >
> > …
> >
> > The first I have no idea, where is this configured.
> >
> 
> That's google.com, something set up long ago as an attempt to determine
> whether there's any internet connectivity. See
> https://github.com/jenkinsci/jenkins/blob/7fb5f24efd92eda2461e9bf2f1fdc50295e12573/core/src/main/java/hudson/model/UpdateCenter.java#L1414
> or
> https://github.com/jenkinsci/jenkins/blob/7fb5f24efd92eda2461e9bf2f1fdc50295e12573/core/src/main/java/hudson/model/UpdateSite.java#L437
> (the amount of unused/legacy code in this area makes it difficult to tell
> at a glance which is called) or an equivalent field in the JSON data
> retrieved from updates.jenkins.io.

If I look into the above Java files, they have a lot of log statements,
like

LOGGER.log(Level.FINE, "Failed to parse releaseTimestamp for "

I don't get why I'm not able to get all logs into the configured file
/var/log/jenkins/jenkins.log; my used log configuration is:

cat logging.properties
.level=DEBUG
handlers=java.util.logging.ConsoleHandler

java.util.logging.ConsoleHandler.level=ALL
# java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format = [%1$tF %1$tT][%4$-6s][%2$s] %5$s 
%6$s %n

hudson.security.csrf.CrumbFilter.level = DEBUG
hudson.plugins.git.GitStatus.level = DEBUG

and for 'FINE' I only see:

grep FINE /var/log/jenkins/jenkins.log
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] Using 
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-17.0.7.0.7-1.el8_7.x86_64
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] No common lib folder 
found
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] Deploying host found 
at default
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] ArgumentsRealm 
initialised: users: 0
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] The webroot supplied 
already exists - overwriting where newer (/var/cache/jenkins/war)
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] Access logging 
disabled - no logger class defined
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] Initialized 1 
webapps: prefixes - [/]
[2023-07-27 08:39:06][FINER ][winstone.Logger logInternal] Initialized in 
non-virtual-host mode

Something must be missing in the log config.

        matthias
-- 
Matthias Apitz, ✉ [email protected], http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

-- 
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/ZMInkXRNj1EgGxYE%40pureos.

Reply via email to