amiga.org
     
iconAll times are GMT -6. The time now is 10:59 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » Logging Startup and Userstartup-sequence

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 08-10-2011, 11:14 PM   #1
XDelusion
Alien Breeder
Points: 33,365, Level: 100 Points: 33,365, Level: 100 Points: 33,365, Level: 100
Activity: 13% Activity: 13% Activity: 13%
 
XDelusion's Avatar
 
Join Date: Mar 2002
Location: Yet another Huxleyan Dystopia
Posts: 4,277
Default Logging Startup and Userstartup-sequence

I know this has been asked before, but I can not find the post, nor do I recall the solution, but I think Piru answered it.

What I want to know, is if there is a way to log my startup-sequence and my userstartup-sequence.

This way if there are any errors on boot up that I'm not seeing, I can go back and see them.
__________________
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
XDelusion is offline   Reply With Quote
Old 08-11-2011, 01:00 AM   #2
Thomas
Kindred of Babble-on
Points: 13,942, Level: 76 Points: 13,942, Level: 76 Points: 13,942, Level: 76
Activity: 13% Activity: 13% Activity: 13%
 
Thomas's Avatar
 
Join Date: Jun 2002
Posts: 2,925
Default Re: Logging Startup and Userstartup-sequence

You can log into the console window if you add set echo on to the beginning of startup-sequence and you can prevent the console window from closing if you remove the endcli command from the end. Or insert ask "press enter" before endcli.

The latter alone will already allow you to read error messages. Both in combination will also show you which command output the message. To stop the log flow you can press any key and continue by deleting the key you entered.
__________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de/
Thomas is offline   Reply With Quote
Old 08-11-2011, 01:08 AM   #3
XDelusion
Alien Breeder
Points: 33,365, Level: 100 Points: 33,365, Level: 100 Points: 33,365, Level: 100
Activity: 13% Activity: 13% Activity: 13%
 
XDelusion's Avatar
 
Join Date: Mar 2002
Location: Yet another Huxleyan Dystopia
Posts: 4,277
Default Re: Logging Startup and Userstartup-sequence

Thank you much sir, that is a good idea, though I am wondering if it is possible to output the log to a txt file on the hard drive?
__________________
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
XDelusion is offline   Reply With Quote
Old 08-11-2011, 05:21 AM   #4
Matt_H
VIP / Donor
Points: 22,261, Level: 92 Points: 22,261, Level: 92 Points: 22,261, Level: 92
Activity: 37% Activity: 37% Activity: 37%
 
Matt_H's Avatar
 
Join Date: Mar 2003
Location: Boston, MA, United States
Posts: 4,985
Default Re: Logging Startup and Userstartup-sequence

What I like to do in situations like this is boot without startup-sequence, set echo on, as Thomas described, then execute s:startup-sequence. If you append >dh0:logfile it will save the buffer to disk. I don't know if you'll be able to see it on screen while it's executing - there's probably a way, but I'm not sure of the command syntax.

There's also an interactive mode - set interactive on, maybe? It'll ask you to confirm executing each line of the script.
Matt_H is offline   Reply With Quote
Old 08-11-2011, 05:44 AM   #5
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: Logging Startup and Userstartup-sequence

Quote:
Originally Posted by Matt_H View Post
What I like to do in situations like this is boot without startup-sequence, set echo on, as Thomas described, then execute s:startup-sequence. If you append >dh0:logfile it will save the buffer to disk.
Hmm, are you sure? I was under the impression that each command handles redirection by their own.

Quote:
There's also an interactive mode - set interactive on, maybe? It'll ask you to confirm executing each line of the script.
I'm fairly sure that there's no such thing.
Piru is offline   Reply With Quote
Old 08-11-2011, 08:42 AM   #6
Matt_H
VIP / Donor
Points: 22,261, Level: 92 Points: 22,261, Level: 92 Points: 22,261, Level: 92
Activity: 37% Activity: 37% Activity: 37%
 
Matt_H's Avatar
 
Join Date: Mar 2003
Location: Boston, MA, United States
Posts: 4,985
Default Re: Logging Startup and Userstartup-sequence

Quote:
Originally Posted by Piru View Post
Hmm, are you sure? I was under the impression that each command handles redirection by their own.
Nope, I'm not sure

Quote:
I'm fairly sure that there's no such thing.
That may not be the right command, but I've done it in the past, somehow. Maybe it was a command line argument for 'execute'?
Matt_H is offline   Reply With Quote
Reply

Bookmarks

Tags
logging , startup , userstartupsequence

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump