Skip to content

trace.log is not available when get WebSphereLibertyTrace on Liberty 26.0.0.9 UBI 10 minimal app image #792

Description

@tam512

Test WebSphereLibertyTrace on UBI10 minimal app image on AKS cluster using the following yaml

apiVersion: liberty.websphere.ibm.com/v1
kind: WebSphereLibertyTrace
metadata:
  name: get-trace
spec:
  license:
    accept: true
  podName: ebuy-wlk-j25-ubi10-min-0
  traceSpecification: "*=info:com.ibm.ws.webcontainer*=all"
  maxFileSize: 20
  maxFiles: 5
  disable: false

but I do not see trace.log file

% oc -n ebuy-wlk-j25-ubi10-min get wltrace
NAME        PODNAME                    TRACING
get-trace   ebuy-wlk-j25-ubi10-min-0   True

% oc -n ebuy-wlk-j25-ubi10-min exec  ebuy-wlk-j25-ubi10-min-0 -- ls -l /serviceability/ebuy-wlk-j25-ubi10-min/ebuy-wlk-j25-ubi10-min-0/logs              
total 10
drwxrwxrwx 2 root root    0 Sep  2 18:26 checkpoint
-rwxrwxrwx 1 root root 2014 Sep  2 18:26 checkpoint-console.log
-rwxrwxrwx 1 root root 7230 Sep  2 18:26 messages.log

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions