This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Logs

Introduction

A utility for viewing detailed event logs for the system.

Designers

Jon McCann

Objectives

Constraints

Relevant Art

GNOME 2

https://lh6.googleusercontent.com/-YTUKhefsgqg/T6yIRoCbd0I/AAAAAAAAhEI/ZbQ5rybJPxI/s640/Screenshot%20from%202012-05-10%2015%3A20%3A30.png https://lh6.googleusercontent.com/-lPvcorJk-0w/T6yIR4SCRhI/AAAAAAAAhEQ/MdCs4mcD1jU/s800/Screenshot%20from%202012-05-10%2015%3A21%3A08.png

OS X

https://lh3.googleusercontent.com/-JdOUZ1_nFcM/T6yD6xb3VSI/AAAAAAAAhCs/SQH56IlJgA4/s640/Screen%20Shot%202012-05-10%20at%2010.39.41%20PM.jpg https://lh6.googleusercontent.com/-yMEvCK0J2W0/T6yD-CxhTrI/AAAAAAAAhDE/tUlp0FyjvrI/s640/Screen%20Shot%202012-05-10%20at%2010.42.06%20PM.jpg https://lh3.googleusercontent.com/-0Roz0637uo8/T6yEAw7nFVI/AAAAAAAAhDc/kkeJD_HdGYQ/s640/Screen%20Shot%202012-05-10%20at%2010.57.29%20PM.jpg https://lh4.googleusercontent.com/-cElciU6b6PA/T6yECaECgxI/AAAAAAAAhDk/zejYJ6a_Ox0/s640/Screen%20Shot%202012-05-10%20at%2010.58.55%20PM.jpg https://lh6.googleusercontent.com/-mViYjX-xJSk/T6yEEGO9s5I/AAAAAAAAhDs/BNoWOI0dQN4/s640/Screen%20Shot%202012-05-10%20at%2011.00.13%20PM.jpg https://lh5.googleusercontent.com/-NJrc-BfffLg/T6yEEiZezII/AAAAAAAAhCM/bUI1bo-evGM/s288/Screen%20Shot%202012-05-10%20at%2011.01.06%20PM.jpg https://lh5.googleusercontent.com/-ifuzpnJqcs8/T6yEE9QBuUI/AAAAAAAAhCU/mhmY6AQoraM/s288/Screen%20Shot%202012-05-10%20at%2011.01.32%20PM.jpg https://lh5.googleusercontent.com/-DH_bKWJ8rEY/T6yEFSajc1I/AAAAAAAAhDw/II-Eu7JewKA/s640/Screen%20Shot%202012-05-10%20at%2011.02.51%20PM.jpg https://lh6.googleusercontent.com/-L5wi6knzQa8/T6yEFzx6-eI/AAAAAAAAhCg/uLDHfMpWX50/s400/Screen%20Shot%202012-05-10%20at%2011.04.14%20PM.jpg

Windows 7

https://lh3.googleusercontent.com/-HE6u4-HHwRo/T6w2i2CfuXI/AAAAAAAAg_w/_GjwC8wEYvA/s640/event-viewer7.PNG https://lh6.googleusercontent.com/-eLAIHs_5dIY/T6w0mVXg5pI/AAAAAAAAg-8/67X4XQerzf0/s640/event-viewer3.PNG

Discussion

For the unprivileged user case this would replace and enhance the legacy .xsession-errors file, be used for displaying a record/history of Problems (as defined in Problem Reporting), and detailed application logs.

Types of logs

Tentative Design

System Logs.png

Comments

Logging examples

ASCII art

Spaces are frequently used as indentation to group related kernel log messages.

Jun 13 19:50:29 localhost kernel: MTRR variable ranges enabled:
Jun 13 19:50:29 localhost kernel:   0 base 0FFC00000 mask FFFC00000 write-protect
Jun 13 19:50:29 localhost kernel:   1 base 000000000 mask F80000000 write-back
Jun 13 19:50:29 localhost kernel:   2 base 080000000 mask FC0000000 write-back
Jun 13 19:50:29 localhost kernel:   3 base 0C0000000 mask FE0000000 write-back
Jun 13 19:50:29 localhost kernel:   4 base 0DC000000 mask FFC000000 uncachable
Jun 13 19:50:29 localhost kernel:   5 base 0DB000000 mask FFF000000 uncachable
Jun 13 19:50:29 localhost kernel:   6 base 100000000 mask F00000000 write-back
Jun 13 19:50:29 localhost kernel:   7 base 200000000 mask FE0000000 write-back
Jun 13 19:50:29 localhost kernel:   8 base 21F000000 mask FFF000000 uncachable
Jun 13 19:50:29 localhost kernel:   9 base 21E800000 mask FFF800000 uncachable

Same process (Google Hangout browser plugin) emitting log spew to the session manager.

Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: No bp log location saved, using default.
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:000] Browser XEmbed support present: 1
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:000] Browser toolkit is Gtk2.
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:002] Using Gtk2 toolkit
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:011] Starting client channel.
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:013] Warning(clientchannel.cc:436): Unreadable or no port file.  Could not initiate GoogleTalkPlugin connection
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:014] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:014] GoogleTalkPlugin not running. Starting new process...
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:014] Warning(optionsfile.cc:47): Load: Could not open file, err=2
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:014] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:018] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:019] Waiting for GoogleTalkPlugin to start...
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: sh: lsb_release: command not found
Jul 03 18:08:23 lenovodave /etc/gdm/Xsession[722]: [000:928] Starting client channel.

Same process (dconf-editor) emitting log spec to the session manager. Useful prefix should make combining successive messages easier.

Jul 03 18:36:41 lenovodave /etc/gdm/Xsession[722]: ** (dconf-editor:27027): WARNING **: dconf-schema.vala:330: Unknown property on <schema>, extends
Jul 03 18:36:41 lenovodave /etc/gdm/Xsession[722]: ** (dconf-editor:27027): WARNING **: dconf-schema.vala:330: Unknown property on <schema>, extends
Jul 03 18:36:41 lenovodave /etc/gdm/Xsession[722]: ** (dconf-editor:27027): WARNING **: dconf-schema.vala:330: Unknown property on <schema>, extends

See Also


2024-10-23 11:03