Skip to content
Diamond Sierra

Paul Bunyan for Windows: the manual

The help file for the original Paul Bunyan Message Logging Utility for Windows (versions 2.x, 1998 to 2011): the viewer, the message server, the API and the appendix of numbered notifications. Archived; the Windows product is no longer sold or supported.

Overview

Concepts

  • Log Messages

    A log message in general is a text string with an abundance of contextual information. Some of that information is passed to the logging calls through direct or…

  • Components and Contexts

    Working with Components and Contexts,Filter dialog

  • Filters

    Paul Bunyan supports very powerful and flexible filter functionality. Filters are currently used in defining queries, configuring connections to message servers, and for selecting messages to be route…

  • Security

    There are plenty of scenarios where vendors would not want to be airing dirty laundry in front of clients or other competing vendors. As such we have implemented…

  • The IPC Buffer

    Messages are communicated to the message server through the IPC buffer. The IPC buffer is implemented in shared memory via a memory mapped file. This is chiefly for…

  • Message Handlers

    Creating and Installing Message Handlers,Configuring Message Handlers, Message Server Overview, Message Server Configuration

  • Forwarding Log Messages

    Configuring Forwarding,Message Server Overview, Message Server Configuration,

  • Error Handling and Notification

    A message logging system is most useful when its information can be relied upon and trusted. There are a number of scenarios where messages can be lost or…

  • Response Files

    Automated installations can be directed to use response files to specify installation options to the installer or the setup application. The format of a response file is a…

The Viewer

  • The Viewer

    The viewer is ultimately what is used to download log messages from message servers and display them to the user. It supports concurrent connections over TCP/IP, multiple queries…

  • The Menus

    | File | Edit | View | Query | Connect | Window | Help |

  • The Status Bar

    1  Number of log messages in the workspace.

  • The Configurations Dialog

    The Configurations dialog manages a workspace's list of configurations. Configurations can be created, edited, and uploaded to message servers. Information contained in the selected configuration is d…

  • The Connections dialog

    Paul Bunyan Overview,Viewer Overview, Message Server Overview

  • The Filter Dialog

    The filter dialog is used for two things: creating or editing globally available selectors and building filters that use them.

  • The Find Dialog

    The Find dialog is used to search for text in displayed text fields of the active query. A combo box is provided to enter search text. Recent strings…

  • The Go To Dialog

    Invokes a GoTo dialog for simple redirection.

  • The Import Dialog

    |   | |

  • The Message Keys Dialog

    The message keys dialog is used to add and remove message keys in the workspace. Message keys are uploaded to the message servers at the time of connection…

  • The Message Properties Dialog

    The Message Properties dialog provides an expanded view of individual log messages. It is loaded with all the selected messages in the active query when invoked. It displays…

  • The Queries Dialog

    The Queries dialog manages the queries in the workspace. All queries in the workspace are presented in a list box. A check to the left of a query…

  • The Query Display Settings Dialog

    |   | |

  • The Query Name Dialog

    The Query Name dialog is presented when a workspace is being saved or a query is being closed and the query has been modified but not yet named.…

  • The Retry Schedule Dialog

    Message Server Configuration,Configuring Retry Schedules, Configuring Message Handlers, Configuring Message Forwarding

  • The User Preferences Dialog

    The User Preferences dialog is used to configure general user options that span workspaces.

  • The Filter Dialog – Date/Time Page

    The radio buttons in the Time scale group govern which of the log message’s three time fields, Source time, Local time, or GMT, the validation criteria specified in…

  • The Filter Dialog – General Page

    The text string name of the selector. This is not required for anything other than readability but when there get to be more than a couple selectors it’s…

  • The Filter Dialog – Text Fields Page

    An edit box is presented for each string field in a log message. If a field is left blank, no comparison is done on that field. If a…

  • Viewer Binary Attachment

    The use of binary attachments is not supported in this version but is slated for release in future versions.

  • Viewer Dialogs – Forwarders
  • Viewer Dialogs – General Config
  • Viewer Dialogs – Message Handlers
  • Viewer Dialogs – Settings
  • Viewer Import Export

    The importing and exporting of log messages is not supported in this version but is slated for release in future versions.

The Message Server

Utilities

  • Paul Bunyan Message Server Control

    Since Windows 95/98 provides only a rudimentary implementation of services, a utility is provided to act as an interface to the message server. It supports commands similar to…

Scripting

  • Automating the Installation Process

    The installer and setup application support command line options to replace the wizard portion of setup. The table below lists the options supported by the installer, the setup…

The API

Appendix

  • End-User License Agreement (EULA)

    END-USER LICENSE AGREEMENT FOR PAUL BUNYAN® MESSAGE LOGGING SOFTWARE

  • Copyright Notice

    License Agreement,Contacting Us

  • Redistribution

    Paul Bunyan is a locked application that runs for a fixed number of days as a trial application unless purchased and subsequently unlocked with a license key. If…

  • Connectivity Licensing

    Redistribution,Contacting Us

  • The Lite, Professional, and Enterprise Editions

    Paul Bunyan is sold in three editions, which are described below.

  • Creating and Installing Message Handlers

    Message Handler Overview,Configuring Message Handlers,Message Server Overview

  • Configuration Settings

    Message Server Configuration,Configurations Dialog

  • Troubleshooting

    For general troubleshooting information please contact us. Also feel free to visit the web site at www.DiamondSierra.com for tips and usage ideas. Several customers have sent in ideas…

  • System Modifications

    Paul Bunyan consists of several components. The functionality of these components is described in the main help file installed by the setup program, PB.hlp. The purpose here is…

  • Glossary

    | Active query | Forwarder | Module |

  • Notifications and Errors

    The Error handling and notification section explains Diamond Sierra’s error handling philosophy at large. This section provides a reference for all notification, warning, and error messages that may…

  • Event Log Notifications

    Message generators and message servers use the application event log to report events in two general scenarios. Any errors that prevent a process from successfully executing PBInitialize (implicitly…

  • Paul Bunyan Notifications

    In addition to the logging of Event Log entries, Paul Bunyan will also notify you of unusual occurrences through the generation of Paul Bunyan log messages. These messages…

  • Viewer Notifications

    Viewer notifications come in the form of message boxes. If the message box displays an error number, it is documented below. References to refer to errors defined in…

  • Socket Error Codes

    The following is a list of common socket error codes that may be reported by the message server or message viewer and their probable causes/resolutions. First are listed…

  • No Help Available

    No help is available for this message box.

  • Time Format Syntax

    Paul Bunyan uses the MFC function COleDateTime::Format to carry out the formatting, which presently uses the ANSI C run-time function strftime. The syntax for the format string is…

Glossary

  • Definition – Active Query

    References to the active query mean active in the MDI sense. Query menu commands apply to the window which has or last had the input focus.

  • Definition – Auto Delete

    By default, when a log message is deleted from the workspace in one query all other open queries are notified so that they will update themselves to reflect…

  • Definition – Auto Refresh

    With auto-refresh enabled, new messages coming in over a connection are displayed immediately. Disabling this option will prevent the query from being re-drawn without user intervention. This facilita…

  • Definition – Auto Sort

    Like auto-refresh, auto-sort only applies to new messages as they are received over an active connection. If auto-refresh is enabled for a query, new messages will be displayed…

  • Definition – bookmark

    A bookmark is used within a query to remember the position of a displayed log message. You can jump from bookmark to bookmark by using the Edit menu…

  • Definition – Component and Context

    All log messages contain a component field and a context field which are essentially text strings that are used to logically group messages together (e.g. “Database Server” and…

  • Definition – configuration

    A configuration refers to the settings used by the message server and message generators to control resource usage, route log messages, and enable message handlers. A workspace maintains…

  • Definition – connection

    A connection represents a TCP/IP link between a viewer and a message server for the purpose of transferring log messages. A connection consists of a name, an IP…

  • Definition – default

    If a component or context is not provided to a logging call then a default will be used if one has been previously installed. A default component or…

  • Definition – fail count

    The fail count is used in code to narrow down where a log message is being lost. This is particularly useful because internal error messages in such situations…

  • Definition – filter

    A filter is a composite entity consisting of a name, a filter type (inclusion or exclusion), and one or more selectors. Filters determine the routing and displaying of…

  • Definition – forwarder

    The term forwarder is used in two contexts. In a configuration sense, a forwarder is an abstract object saved in a workspace or configuration file representing all the…

  • Definition – forwarding

    Log messages can be forwarded from one message server to another. This allows them to be routed from strictly internally accessible machines where they are generated to externally…

  • Definition – generator

    The term generator denotes any application that generates log messages.

  • Definition – Interprocess Communication

    Interprocess Communication

  • Definition – IPC buffer

    Log messages are transmitted from the generator to the message server by passing them through the IPC buffer which is a region of shared memory used for interprocess…

  • Definition – log message

    A log message is essentially a text string accompanied by an abundance of contextual information. Log messages are created by the API, distributed by the message server, and…

  • Definition – log message field

    Message type, timestamps (local, source, GMT), component, context, machine, process name, module name, file name, line number, process id, thread id, and message text.

  • Definition – logging call

    The term logging call generally refers to any and all of the various functions and external methods and/or interfaces used to create log messages. This includes the PBLog…

  • Definition – mark

    A mark is simply a visual cue to the left of a message used to call attention to that message. Marks are retained until the query window is…

  • Definition – message handler

    Paul Bunyan defines and exports a COM interface that allows the message server to pass log messages to other applications (COM servers) so that they may be processed…

  • Definition – Message Key

    A message key is a text string used to lock and unlock log messages. See the Security overview for further information.

  • Definition – message logging systems

    A message logging system allows software to create messages and transmit them to a location where they can be viewed or processed. The Windows NT Event Log viewer…

  • Definition – message server

    The message server is an NT service that receives log messages from generators and routes them to message handlers, forwards them to other message servers, and downloads them…

  • Definition – module

    For our purposes, a module identifies an executable file that is loaded into memory. Typically, this is a dll or exe where a dll can be one of…

  • Definition – Most Recently Used

    Most Recently Used

  • Definition – NT service

    An NT service is basically just a normal executable program that has a few hooks that the operating system can call to tell it to start, stop, pause,…

  • Definition – port

    A port is a numerical identifier used in the routing of TCP/IP communications between software applications.

  • Definition – public and private messages

    See the Security topic in the main application help for more information on logging public and private messages.

  • Definition – query

    A query is a window used to display a subset of the log messages in a workspace. A query consists of a filter and a set of display…

  • Definition – refresh

    A refresh of a query causes data displayed by the query to be brought up to date with the data in the workspace. The query’s filter is applied…

  • Definition – restored

    A message is said to be restored when it has been deleted in one query and then undeleted in another. This only happens if the latter query has…

  • Definition – selector

    A selector consists of a set of criteria for determining whether or not a log message is ‘selected’ for inclusion or exclusion operations within a filter. Selectors exist…

  • Definition – Time Field

    When log messages are created, they are stamped with the system time. This time is always relative to the same time zone (Greenwich Mean Time) for ease of…

  • Definition – TODAY

    TODAY is a placeholder used to indicate that the current date (in the time zone specified by the time scale group in the Filter Dialog) should be used…

  • Definition – user message

    A user message is a message with message type not equal to one of the types predefined by Paul Bunyan.

  • Definition – viewer

    The viewer is a desktop application used to display log messages downloaded from message servers.

  • Definition – workspace

    A workspace is a file edited by the viewer. A workspace consists of zero or more objects of the following types: selectors, queries, connections, message keys, configurations, and…

  • IP Addresses and Ports

    An IP address is an identifying token used to route communications over networks supporting the Internet Protocol. Most internal networks as well as the Internet use the Internet…

  • Message Types

    There are 10 message types and they are described in the table below.

  • Running Setup

    Paul Bunyan is installed by running a self extracting executable called the installer, e.g. PB2-2-0.exe. (The three numbers separated by hyphens are the major version, minor version, and…