Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jts-dev] Modify JTS Core to use a logging framework
  • From: "Bryant, Phil L." <Phillip.L.Bryant@xxxxxxxx>
  • Date: Wed, 30 Mar 2022 16:30:28 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=saic.com; dmarc=pass action=none header.from=saic.com; dkim=pass header.d=saic.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=d6+yhU499Hcp4fh9DSHU8l1I5FdqGcJzZK94Dbe6Y0Q=; b=SyUnFqUXJVVNorNcUkdG42mSaAoHYAK6jaMsVOIsFh37/jnVMisT8Tw5sKiv9RLUL7In/ms0068gTRE7qBIGDW1Vjx/MhGSfQJ5fM2g77Ibn5d6E4IhVZqyhSGiuFYPGHsjgN9PSNrxI9lFen3GMflbYp2eXmZGcnjHn3fALdM6XnSOxVy2MMtFyygJxzk27Qz52ChpPECDCYIvoAWEu1aUjc36E4W+damUChOfkk8EkBPfNER/0qqWOtBqOSpDz0CIrI4aEOPa3oxE9JUi68u/HItX2vprs87CA4sMDQ/gg9OAYP6UJojOyknapIHlAKRnHAPajjIGj/g+cbRpFjQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=cBxRnb79gyIWSTqD4WkPbBgkmbrwgSv9P4KtPBXoTR/AvrHw5DLT5HslxoRWk1s6kT34tcDZTCYzKZpWb1fFFxr7BKqmh7jr4nPjZSZHJlvvQLZYs33hfJZRw1To/N1+h8seyGA5f24DPo8I0k8So1Tx/9H0hBgUHy54qY8LuEj4y9GUYj2WAvERb1UOTjeOKwk1Tx+T3XcBOKH1kQzO/58vbGv+7YkukyXT0eJCWw5COWvJ7HniDpkNuzbNY+D6r0tQ46D/vAG8ZGFP5RvJpxSvSONl2B3Zjxo0dSUUgBTpDwaKBGVFPCSC3Lw4PBEP1Rh1q5WxHNKW9NYWIG0Z7Q==
  • Delivered-to: jts-dev@xxxxxxxxxxx
  • Ironport-sdr: tfPawZ0o9s7hDjpClkKmkRE0su7dDVgj/N3S03HQVB7fFarkm6MxiQ1WOgr9vd0qU78cNxT05h Mjxw32vdPkXbniRaVU8WHUjChkNk/hSACGdZ2h3sDgU5fxztfldJUIlFGL4OXpZzTF3MkrnqdG RWDsX9N25UIIdqaL94CJpBTcH1hJhyqdNzD5RgFao8+IMuN86ItbugiZEt1WKvp8KUrezxJfm/ cYk7d+XfzqqutTdkBQ3Ipp1mAV89SVyk3MifHmu6xbpkTbf3WZ9ZQm7Hnscy+xOku642gjxEhW 79c=
  • List-archive: <https://dev.eclipse.org/mailman/private/jts-dev/>
  • List-help: <mailto:jts-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://dev.eclipse.org/mailman/listinfo/jts-dev>, <mailto:jts-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://dev.eclipse.org/mailman/options/jts-dev>, <mailto:jts-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdhDk1BNxNDRHWjcTTKA3lTike0M7wAv6xyQ
  • Thread-topic: Modify JTS Core to use a logging framework

Hello,

 

This is my first time posting to your mailing list, so please excuse any breaches of protocol/decorum.

 

I work on a project that uses JTS Core (thank you for all of your hard work); however, to be permissible for us to use it we must perform a static code analysis on the source code (using Fortify) and mitigate the findings.  This is a time consuming process and it must be repeated each time we upgrade versions of your software.  This is my first time performing the task for JTS Core.  From what I understand other developers on our team have previously found, most of the findings involve removing calls System.out, System.err and printing stacktraces (because stacktraces reveal potential vulnerabilities). 

 

I am planning to fork the JTS repo and modify it to use a logging framework in lieu of the aforementioned outputs.  I would like to do so in a way that will both benefit the community and that would allow committing those changes so this process will be less time consuming for future upgrades.

 

My proposal is to use the Simple Logging Facade for Java (SLF4J) as doing so allows users of the library to decide the underlying logging framework to use without having to modify the source code and by simply adding the dependency for the chosen framework to the runtime classpath.  It is also my understanding that SLF4J is compatible with Android, so I would not expect using it to impose restrictions for that platform. 

 

I’m looking for feedback so I can provide the most benefit to the community and increase the likelihood the community will accept a pull request with the modifications so they will be included in future releases.  Any feedback will be greatly appreciated.

 

Thanks in advance,

 

Phil Bryant

Senior Principal  Software Engineer

SAIC Inc.

5021 Bradford Drive

Huntsville, Alabama 35806

Phillip.L.Bryant@xxxxxxxx

phillip.l.bryant4.ctr@xxxxxxxx

The information contained in this e-mail and any attachments from Science Applications International Corporation ("SAIC") may contain confidential and/or proprietary information, and is intended only for the named recipient to whom it was originally addressed. If you are not the intended recipient, any disclosure, distribution, or copying of this e-mail or its attachments is strictly prohibited.   If you have received this e-mail in error, please notify the sender immediately by return e-mail and permanently delete the e-mail and any attachments.

Back to the top