The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XAS::Model::Database::Messaging::Result::Log - Table for XAS Log entries

DESCRIPTION

The definition for the log table.

FIELDS

id

An automatic incremental index.

data type - bigint
is nullable - no

hostname

The name of the host that the entry is from.

data type - varchar
size - 254
is nullable - no

datetime

The date and time when the record was created.

data type - timestamp with time zone
timezone - local
is nullable - no

level

The level of the alert.

data type - varchar
size - 32
is nullable - no

facility

The facility of the alert.

data type - varchar
size - 32
is nullable - no

process

The name of the process that generated the alert.

data type - varchar
size - 32
is nullable - no

message

The message.

data type - varchar
size - 256
is nullable - no

pid

The process id of process that generated the alert.

data type - varchar
size - 16
is nullable - no

tid

The id for the thread of the process that generated the alert.

data type - varchar
size - 32
is nullable - no

msgnum

The message number of the message for the alert.

data type - varchar
size - 16
is nullable - no

revision

Used by DBIx::Class::OptimisticLocking to manage changes for this record.

data type - integer
is nullable - yes

METHODS

sqlt_deploy_hook($sqlt_table)

This method is used when a database schema is being generated. It can be used to add additional features.

$sqlt_table

The DBIx::Class class for this table.

table_name

Used by the helper functions mixed in from XAS::Model::DBM.

SEE ALSO

XAS::Collector
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.