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 6138091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:48:26+00:00 2026-05-23T17:48:26+00:00

I have a proxy class, that receives a request and send the request to

  • 0

I have a proxy class, that receives a request and send the request to another server and gets the response and directs it back to original requestor. I use a socket to connect to the server and use Printwriter to write to it.
Something like this

    private PrintWriter out;

    public void writeString( String message ) throws IOException {
        openStreams();
        out.print( message);
        out.flush();
    }

I start the proxy and send request to server via proxy. The problem is I see a lot of these request/response in the console of the proxy. Is there is a different way of doing this, where the console is left cleaner. I am new to socket programing

Thanks in advance

  • 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-23T17:48:27+00:00Added an answer on May 23, 2026 at 5:48 pm

    It sounds like you have a System.out.println or debug logging statement somewhere else in your code. Do a quick text-search through your various java files and search for System.out statements. If you are using some logging framework like log4j/slf4j, check if you are logging something at an inappropriate level (info instead of debug maybe) and tune your logger config to appropriate lever and/or log to file instead of console.

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

Sidebar

Related Questions

We have several cron jobs that ftp proxy logs to a centralized server. These
I have a service proxy class that makes asyn call to service operation. I
At home we have a proxy server. At work we don't. Firefox irritates in
Here is my scenario: I have a proxy that actually has the SSL Cert
To change Proxy server I have to go to IE->Internet Options->LAN Settings and click
I have a class Date that I defined that models a date, it has
I have a question about manually creating a .Net webservice proxy class. The WSDL
I have to use functionality that is in another application domain. The result should
I'm a little bit confused by this scenario: I have a class that implements
I have a class that contains some private attributes. What I would like to

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.