NAME

Log::Dispatch::UDP - Log messages to a remote UDP socket

VERSION

version 0.02

SYNOPSIS

use Log::Dispatch;

my $log = Log::Dispatch->new(
  outputs => [
      [
          'UDP'
          host      => $destination_host,
          port      => $destination_port,
          min_level => 'info',
      ],
  ],
);

$log->info('my message');

DESCRIPTION

This class can be used to write messages to a UDP socket listening on some remote host. The datagrams themselves contain only the messages (there's no real structure to them), so you can easily listen in using netcat.

SECURITY CONSIDERATIONS

Log messages are not encrypted. Be wary of logging authentication details such as usernames, passwords or session ids, financial information such as credit cards, or other personally identifying information over unsecured channels.

SEE ALSO

Log::Dispatch

SOURCE

The development version is on github at https://github.com/robrwo/perl-Log-Dispatch-UDP and may be cloned from https://github.com/robrwo/perl-Log-Dispatch-UDP.git

SUPPORT

Only the latest version of this module will be supported.

This module requires Perl v5.8 or later. Future releases may only support Perl versions released in the last ten (10) years.

Reporting Bugs and Submitting Feature Requests

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/perl-Log-Dispatch-UDP/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see SECURITY.md for instructions how to report security vulnerabilities.

AUTHOR

Rob Hoelz <rob@hoelz.ro>

This module is currently maintained by Robert Rothenberg <perl@rhizomnic.com>.

CONTRIBUTOR

Robert Rothenberg <perl@rhizomnic.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012, 2026 by Rob Hoelz <rob@hoelz.ro>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.