06-28-2005
No, look at the file.
more /var/dt/Xerrors
have a look at what it says inside the file, it is an error log.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help editing my openwin file. I've got it all set up so the options I normally use (xman, cmdtools, xeyes, printtool) automatically come up when I log on, but it won't read my -geometry entries. I got them by right-clicking on the desktop, but apparently they need to be entered a certain... (0 Replies)
Discussion started by: sdienlin
0 Replies
2. UNIX for Dummies Questions & Answers
I am a newb linux user. And i am running suse 9.3 pro.
When i first installed it a couple of days ago, it booted into the desktop
fine the first four or five times.
And not when i turn on my computer and boot linux and loads the devices, then it prompts me...
UserName:
Password:
(which... (1 Reply)
Discussion started by: derekmpage
1 Replies
3. UNIX for Dummies Questions & Answers
hey. i was wondering if some one could tell me how to get install this on my open suse linux.
http://en.opensuse.org/Xgl
it looks pretty handy, but im new to linux and im unsure how to proceed.
thanks (0 Replies)
Discussion started by: bebop1111116
0 Replies
4. UNIX for Advanced & Expert Users
i want to access my group users desktop.
can i did that by using xwd and xwud? else what can i do for that? (0 Replies)
Discussion started by: lakshmananindia
0 Replies
5. Solaris
Hi friends, i had small problem in my home pc i install solaris 10 but GUI is very big cannot view any thing, but i can open terminal where with very difficulty is there any command to re size my resolution some thing like 1024. if not i want to log in default console other than GUI only terminal... (5 Replies)
Discussion started by: kurva
5 Replies
6. UNIX for Dummies Questions & Answers
How to set up a framebuffer desktop (environment) / no X desktop (environment)? In my case: Debian etch, allready with framebuffer but I mean that I have in framebuffer all I use in X - also read pdf (without hanging up the whole system..) and so on. (3 Replies)
Discussion started by: Action
3 Replies
7. What is on Your Mind?
I am on Solaris 10
cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009 (16 Replies)
Discussion started by: solaris_user
16 Replies
8. UNIX Desktop Questions & Answers
We are going to use Linux Desktop systems.
Which one will be the best option ?
I prefer CentOS , but in CentOS which one ?
I heard fedora will take more Ram space..!! is it ?
P.S
1. Users are developers , with eclipse , java , tomcat webserver etc.
2. System Configuration ~: 2GB ,... (8 Replies)
Discussion started by: linuxadmin
8 Replies
9. Linux
Right, I know this topic has more or less been done to death, however, I'm bringing it up again.
I'm planning on moving to Linux as a full time desktop OS for my home system.
I don't want to run a security distro, or anything that runs as root and just use my Windows OS in a VM when I need to use... (11 Replies)
Discussion started by: 3therk1ll
11 Replies
LEARN ABOUT DEBIAN
mojo::log
Mojo::Log(3pm) User Contributed Perl Documentation Mojo::Log(3pm)
NAME
Mojo::Log - Simple logger
SYNOPSIS
use Mojo::Log;
# Log to STDERR
my $log = Mojo::Log->new;
# Customize log file location and minimum log level
my $log = Mojo::Log->new(path => '/var/log/mojo.log', level => 'warn');
# Log messages
$log->debug("Why isn't this working?");
$log->info("FYI: it happened again");
$log->warn("This might be a problem");
$log->error("Garden variety error");
$log->fatal("Boom!");
DESCRIPTION
Mojo::Log is a simple logger for Mojo projects.
EVENTS
Mojo::Log can emit the following events.
"message"
$log->on(message => sub {
my ($log, $level, @messages) = @_;
...
});
Emitted when a new message gets logged.
$log->unsubscribe('message');
$log->on(message => sub {
my ($log, $level, @messages) = @_;
say "$level: ", @messages;
});
ATTRIBUTES
Mojo::Log implements the following attributes.
"handle"
my $handle = $log->handle;
$log = $log->handle(IO::Handle->new);
Log file handle used by default "message" event, defaults to opening "path" or "STDERR".
"level"
my $level = $log->level;
$log = $log->level('debug');
Active log level, defaults to the value of the "MOJO_LOG_LEVEL" environment variable or "debug".
These levels are currently available:
"debug"
"info"
"warn"
"error"
"fatal"
"path"
my $path = $log->path
$log = $log->path('/var/log/mojo.log');
Log file path used by "handle".
METHODS
Mojo::Log inherits all methods from Mojo::EventEmitter and implements the following new ones.
"new"
my $log = Mojo::Log->new;
Construct a new Mojo::Log object and subscribe to "message" event with default logger.
"debug"
$log = $log->debug('You screwed up, but that is ok');
Log debug message.
"error"
$log = $log->error('You really screwed up this time');
Log error message.
"fatal"
$log = $log->fatal('Its over...');
Log fatal message.
"format"
my $message = $log->format('debug', 'Hi there!');
my $message = $log->format('debug', 'Hi', 'there!');
Format log message.
"info"
$log = $log->info('You are bad, but you prolly know already');
Log info message.
"is_level"
my $success = $log->is_level('debug');
Check log level.
"is_debug"
my $success = $log->is_debug;
Check for debug log level.
"is_error"
my $success = $log->is_error;
Check for error log level.
"is_fatal"
my $success = $log->is_fatal;
Check for fatal log level.
"is_info"
my $success = $log->is_info;
Check for info log level.
"is_warn"
my $success = $log->is_warn;
Check for warn log level.
"log"
$log = $log->log(debug => 'This should work');
Emit "message" event.
"warn"
$log = $log->warn('Dont do that Dave...');
Log warn message.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Log(3pm)