Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4534206
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:15:07+00:00 2026-05-21T14:15:07+00:00

I need to to read a Log4j log that is stored on a remote

  • 0

I need to to read a Log4j log that is stored on a remote location via Windows network share.

I tried to mount that share as local drive in Windows (L:, what a fantasy…) and then tried to configure the LogFilePatternReceiver in Chainsaw with the pattern I know.

The problem is that, while I’m still able to read the file from Windows, I’m unable to let Chainsaw start listening to the log.

File path in Chainsaw is file://l:/catalina.out, but I get

Throwable
java.net.UnknownHostException: l
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.NetworkClient.openServer(Unknown Source)
    at sun.net.ftp.FtpClient.openServer(Unknown Source)
    at sun.net.ftp.FtpClient.openServer(Unknown Source)
    at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)
    at java.net.URL.openStream(Unknown Source)
    at org.apache.log4j.varia.LogFilePatternReceiver$1.run(LogFilePatternReceiver.java:805)
    at java.lang.Thread.run(Unknown Source)

If I try to change l: with c:, just to try, I get that the file is unavailable (because it doesn’t exist on C:).

What could be the possible explanation for the problem? The L: drive, even if is a remote drive, is mounted in Windows and I can access it via shell.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:15:07+00:00Added an answer on May 21, 2026 at 2:15 pm

    I just tried this using the latest developer snapshot of Chainsaw and it worked fine. I mapped the Y drive to another box and then specified the fileURL as: file:///y:/mylogfile.txt

    Here’s a link to the latest developer snapshot…lots of new features, including ability to annotate the log with comments (click in the ‘marker’ column and add your own notes), search results are gathered in a separate pane, etc..

    http://people.apache.org/~sdeboy/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to read a large space-seperated text file and count the number of
I need to read a properties file and generate a Properties class in Java.
I need to read exactly 32 bits from a file. I'm using ifstream in
I need to read the keys from several external applications .config files, is it
I need to read a CSV file, update a field, then save the changes.
I need to read bytes from this Blob. I'm trying the following but I'm
i need to read an external XML file from my java application in jar
I have two chained CascadingDropDowns . Both are working fine. The thing is that
I have a class that is only ever accessed externally through static methods. Those
I have a library with an API much like this: public class Library :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.