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

[Bug]: [obdiag analyze log --files xxxx ] log print from_time / to_time #256

Closed
Teingi opened this issue Jun 18, 2024 · 0 comments · Fixed by #257
Closed

[Bug]: [obdiag analyze log --files xxxx ] log print from_time / to_time #256

Teingi opened this issue Jun 18, 2024 · 0 comments · Fixed by #257
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Teingi
Copy link
Contributor

Teingi commented Jun 18, 2024

Describe the bug

obdiag analyze log --files observer.log.20240618062401179
analyze_log_offline start ...
analyze log from_time: 2024-06-18 09:40:03, to_time: 2024-06-18 10:11:03

FileListInfo:
+-----------+------------------------------------+
| Node      | LogList                            |
+===========+====================================+
| 127.0.0.1 | ['observer.log.20240618062401179'] |
+-----------+------------------------------------+

Analyze OceanBase Offline Log Summary:

+-----------+----------+------------+-------------+-----------+---------+
| Node      | Status   | FileName   | ErrorCode   | Message   | Count   |
+===========+==========+============+=============+===========+=========+
| 127.0.0.1 | PASS     |            |             |           |         |
+-----------+----------+------------+-------------+-----------+---------+

Environment

obdiag 2.x

Fast reproduce steps

obdiag analyze log --file xxx

Expected behavior

obdiag analyze log --files observer.log.20240618062401179
analyze_log_offline start ...

FileListInfo:
+-----------+------------------------------------+
| Node      | LogList                            |
+===========+====================================+
| 127.0.0.1 | ['observer.log.20240618062401179'] |
+-----------+------------------------------------+

Analyze OceanBase Offline Log Summary:

+-----------+----------+------------+-------------+-----------+---------+
| Node      | Status   | FileName   | ErrorCode   | Message   | Count   |
+===========+==========+============+=============+===========+=========+
| 127.0.0.1 | PASS     |            |             |           |         |
+-----------+----------+------------+-------------+-----------+---------+

Actual behavior

obdiag analyze log --files observer.log.20240618062401179
analyze_log_offline start ...
analyze log from_time: 2024-06-18 09:40:03, to_time: 2024-06-18 10:11:03

FileListInfo:
+-----------+------------------------------------+
| Node      | LogList                            |
+===========+====================================+
| 127.0.0.1 | ['observer.log.20240618062401179'] |
+-----------+------------------------------------+

Analyze OceanBase Offline Log Summary:

+-----------+----------+------------+-------------+-----------+---------+
| Node      | Status   | FileName   | ErrorCode   | Message   | Count   |
+===========+==========+============+=============+===========+=========+
| 127.0.0.1 | PASS     |            |             |           |         |
+-----------+----------+------------+-------------+-----------+---------+

Additional context

No response

@Teingi Teingi added the bug Something isn't working label Jun 18, 2024
@Teingi Teingi added this to the v2.3.0 milestone Jun 18, 2024
@Teingi Teingi self-assigned this Jun 18, 2024
Teingi added a commit to Teingi/obdiag that referenced this issue Jun 18, 2024
@Teingi Teingi mentioned this issue Jun 18, 2024
@Teingi Teingi closed this as completed Jun 18, 2024
wayyoungboy added a commit that referenced this issue Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant