Attention: The forums will be placed on read only mode this Saturday (Oct. 20, 2018)

During this outage (6:30 AM to 8 PM PDT) the forums will be placed on read only mode. We apologize for this inconvenience. Click here to read details

Linux forum


loghost in etc host

by chuikingman / June 21, 2011 6:23 PM PDT

I configure the /etc/hosts in red aht ES 5.4
I want to ask what is the function of "loghost "..
If I miss it , any different or problem ??/

Below is the etc/hosts file localhost A loghost B C

Discussion is locked
You are posting a reply to: loghost in etc host
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: loghost in etc host
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
by GODhack / June 24, 2011 7:02 PM PDT
In reply to: loghost in etc host

It is just a host where the syslog daemon logs the messages.

Collapse -
Format of /etc/hosts
by mike-ocs / July 8, 2011 2:59 AM PDT
In reply to: loghost in etc host

You might also think of "loghost" as being an alias that you can use on your local machine that will point to If you ping loghost, it should ping Similarly, if you ran ping A, it should also ping With the name loghost, it's likely that your /etc/syslog.conf file has an entry that ends in @loghost -- which would essentially send off log files with the specified facility.priority to loghost (or


Note: This post was edited by a forum moderator to remove advertisement link on 07/08/2011 at 10:24 AM PT

Collapse -
Just a note.
by MarkFlax Forum moderator / July 8, 2011 3:07 AM PDT
In reply to: Format of /etc/hosts

I've asked the forum Admin to edit out your www link, in this post and your other one.

Tag line advertising contravenes forum policy.


Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!