Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将传入请求的 IP 地址记录到 GlassFish 的日志中。在做了一些研究后,我发现了如何。但这里的问题是我学会了如何在访问日志文件中记录它。有没有办法在 server.log 文件中记录 IP 地址?!