Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs when updating remote logging configuration with URL "http://localhost:8080/api/logs/consume". #2602

Closed
vishmi49 opened this issue Mar 11, 2024 · 1 comment
Assignees
Milestone

Comments

@vishmi49
Copy link

vishmi49 commented Mar 11, 2024

Description

An error occurs when adding remote logging configuration with URL "http://localhost:8080/api/logs/consume".

Steps to Reproduce

Prerequisites

setup a https server
start the server

Steps

  1. Start APIM server
  2. Login to management console
  3. Configure -> Remote logging
  4. Select a log type
  5. Add remote server URL

Affected Component

APIM

Version

4.3.0-alpha

Environment Details (with versions)

local environment

Relevant Log Output

org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate plugin type for SecuredHttp
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate plugin for SecuredHttp
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to invoke factory method in class org.apache.logging.log4j.core.config.AppendersPlugin for element Appenders: java.lang.NullPointerException: Cannot invoke "org.apache.logging.log4j.core.config.plugins.util.PluginType.getElementName()" because "childType" is null
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "PaxOsgi" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_CONSOLE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "ERROR_LOGFILE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_TRACE_LOGFILE" for logger config "trace.messages"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "ATOMIKOS_LOGFILE" for logger config "com.atomikos"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "AUDIT_LOGFILE" for logger config "AUDIT_LOG"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "TRACE_APPENDER" for logger config "TRACE_LOGGER"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "OPEN_TRACING" for logger config "tracer"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.axis2.wsdl.codegen.writer.PrettyPrinter"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CORRELATION" for logger config "correlation"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.shared.ldap.ldif.LdifReader"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.shared.ldap"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.server.ldap.LdapProtocolHandler"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.shared.ldap.entry.DefaultServerAttribute"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.server.ldap.handlers"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "SERVICE_APPENDER" for logger config "SERVICE_LOGGER"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.server.ldap.LdapSession"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.server.core"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.directory.server.core.DefaultDirectoryService"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "BOTDATA_APPENDER" for logger config "org.wso2.carbon.apimgt.gateway.mediators.BotDetectionMediator"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "API_LOGFILE" for logger config "API_LOG"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "org.apache.axis2.enterprise"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate plugin type for SecuredHttp
@vishmi49 vishmi49 added BugFixing Tracks the bugs to be fixed for APIM 4.3.0 release 4.3.0 labels Mar 11, 2024
@AnuGayan AnuGayan self-assigned this Mar 11, 2024
@lasanthaS lasanthaS assigned lasanthaS and unassigned AnuGayan Mar 11, 2024
@tharikaGitHub tharikaGitHub added this to the 4.3.0-Beta milestone Mar 12, 2024
@tharikaGitHub
Copy link
Member

Closing as this issue is fixed with wso2/product-apim#13437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants