Logging module & URL program
I have a couple of programming problems that I need some assistance with. Any help from you guys will be highly appreciated.
1) Need to create a logging module that is thread safe, that timestamps the log entries in GMT and rotates log files nightly at midnight
2) Need to write a program that accepts a series or URLs on the command-line, and prints the top 3 fastest URLs, along with their timing (for reading). It should not wait for any additional URLs to complete. For example:
$ java URLTester http://yahoo.com http://google.com http://microsoft.com http://mindspring.com http://download.com
(and the program should end at this point... It should not wait for all URLs to complete)
Like I said, even if you can point me in the right direction with the above two examples, I will highly appreciate it.
1) See log4j
2) Why don't you want to execute a ping.exe program from your application?
By divagoddess in forum C++
Last Post: 08-14-2009, 04:12 PM
Last Post: 07-05-2006, 11:36 AM
Last Post: 07-05-2006, 11:31 AM
By pksrinivasan in forum Java
Last Post: 07-28-2005, 12:14 PM
By Gordon Reichhardt in forum VB Classic
Last Post: 01-08-2002, 11:06 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center