From cda2222ed5fa22d65bef2e1d033bcb655f58b4a6 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 19 May 2020 17:06:28 -0700 Subject: [PATCH] p2p: deprecation notice --- documentation/release_notes.dox | 5 +++++ p2pApp/gwmain.cpp | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/documentation/release_notes.dox b/documentation/release_notes.dox index 37c0a6b..bde0221 100644 --- a/documentation/release_notes.dox +++ b/documentation/release_notes.dox @@ -2,6 +2,11 @@ @page release_notes Release Notes +Release 1.2.3 (May 2020) +======================== + +- P2P gateway deprecated in favor of https://mdavidsaver.github.io/p4p/gw.html + Release 1.2.2 (Nov 2019) ======================== diff --git a/p2pApp/gwmain.cpp b/p2pApp/gwmain.cpp index a4190f5..3bbda96 100644 --- a/p2pApp/gwmain.cpp +++ b/p2pApp/gwmain.cpp @@ -258,6 +258,17 @@ int main(int argc, char *argv[]) theserver = &arg; getargs(arg, argc, argv); + if(arg.debug>0) + std::cout<<"Notice: This p2p gateway prototype has been superceded by the p4p.gw gateway\n" + " which has exciting new features including granular access control,\n" + " and status PVs including bandwidth usage reports.\n" + " p2p is considered deprecated by its author, and will receive\n" + " minimal maintainance effort going forward.\n" + " Users are encouraged to migrate to p4p.gw.\n" + "\n" + " https://mdavidsaver.github.io/p4p/gw.html\n" + "\n"; + pva::pvAccessLogLevel lvl; if(arg.debug<0) lvl = pva::logLevelError;