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

Console debug, warning, and error msgs no longer print filename and line number #631

Closed
iche033 opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iche033
Copy link
Contributor

iche033 commented Aug 30, 2024

Environment

  • OS Version: 24.04
  • Source or binary build? source, gz-common6

Description

  • Expected behavior: Console debug, warning, and error msgs should include filename and line number
  • Actual behavior: No filename and line number printed.

Filename and line number is important for debugging purposes.

Steps to reproduce

  1. Run any world with -v 4 and look at the msgs printed in console.

Output

Example output in Harmonic vs Ionic

Harmonic:

[Msg] Gazebo Sim GUI    v8.6.0
[Dbg] [gz.cc:166] Subscribing to [/gazebo/starting_world].
[Dbg] [Gui.cc:275] Waiting for subscribers to [/gazebo/starting_world]...
...
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.

Ionic:

(2024-08-30 22:42:40.327) [info] Gazebo Sim GUI    v9.0.0~pre1
(2024-08-30 22:42:40.634) [debug] Subscribing to [/gazebo/starting_world].
(2024-08-30 22:42:40.635) [debug] Waiting for a world to be set from the GUI...
...
(2024-08-30 22:42:41.677) [warning] [GUI] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.

@iche033 iche033 added the bug Something isn't working label Aug 30, 2024
@iche033 iche033 closed this as completed Sep 4, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Sep 4, 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
Archived in project
Development

No branches or pull requests

1 participant