CURL output on console.
Hi everyone,
I have to ask this, 'cause it is quite annoying when you are debugging something and your console is showing the cURL output all the time, every ~20 sec, a new connection is done, with the corresponding output:
This output is the connection to our HANA Server, and, just guessing, DI API connects through cURL to there, Am I right? if yes, please, tell me how I can stop this output.
We already try the --silence command directly on the server, but without successful result.
Thanks in advance
Sorry, computer was booted with 64-bits kernel.
Andrew
Similar Messages
-
Hi all,
I have to ask this, 'cause it is quite annoying when you are debugging something and your console is showing the cURL output all the time, every ~20 sec, a new connection is done, with the corresponding output:
This output is the connection to our HANA Server, and, just guessing, DI API connects through cURL to there, Am I right? if yes, please, tell me how I can stop this output.
We already try the --silence command directly on the server, but without successful result.
Thanks in advancesorry.. issue in wrong forum.. its concerning Visual Composer..
-
Can anyone help me understand this output from Console?
My Macbook Pro freezes and I have to manually shut it down and restart it. This is the error output from Console after I restart the Mac and find the time that the Mac froze.
Here is the error code again, if it was too hard to read from the image above:Hi, did you find any answer to this? I have the same problem with globeinvestor.com gold tracker program. It stops to run from very beginning and give me a 23 code error.
Their supprot can not fix this. Actually i have tried this in three different computers and all of them are same. -
Getting script to write output to console and a log file
Hello everyone. I'm working on a script that will search through a bunch of folders, pull anything larger than 50Kb out and then write a log file of what it moved. What I have so far is what I've pieced together through my research. It works, but it doesn't
write anything to the console which I believe is why my log isn't showing any info.
Here's the code:
get-ChildItem -path $path -recurse -ErrorAction "SilentlyContinue" -include $Extension | ? {$_.GetType().Name -eq "FileInfo" } | where-Object {$_.Length -gt $size} | Copy-Item -Destination c:\test|results_big | Out=File c:\test\log.txt
What I've been trying to do is add a | write-host in there somewhere, but all I get is countless red text with a variety of messages reminding me of my ignorance :). Thoughts?Hi Scotty,
here's an edit:
Get-ChildItem -path $path -recurse -ErrorAction "SilentlyContinue" -include $Extension | Where-Object { (-not $_.PSIsContainer) -and ($_.Length -gt $size)} | Copy-Item -Destination "c:\test_results_big" -PassThru | Out-File "c:\test\log.txt"
Soo, what did I change?
- Replaced checking for item type I checked the PSIsContainer property (which is true for folders)
- Combined the two Where-Object calls into a single one
- Fixed the path for copy-item destination
- Added the -PassThru parameter - otherwise Copy-Item won't give output causing you to export nothing to file.
- Fixed a typo - Out=File --> Out-File
Cheers,
Fred
There's no place like 127.0.0.1 -
Hi
Just getting up and running
Mac OS X 10.9. Adoe AIR 3.9. All working fine except air.trace() not outputting anything to the console.
Bit of googling meant I created a mm.config in ~ with the line:
ErrorReportingEnable=1
but still no joy.
Any other tips for getting this to work or is it just now broken and/or unsupported?
Are HTML apps wrapped in AIR now legacy technology?I have the same question... I've been trying to get an Adobe AIR HTML app going, but there appears to be no IDE that supports debugging an HTML/JS AIR App, and fdb, which is supposed to be able to debug HTML/JS AIR apps, does not.
Is HTML/JS still a supported way of developing Adobe AIR apps? If so, then why aren't issues like this getting some attention?
-Josh -
I am having problems formatting a series of string outputted to the console. What I am doing looks like this:
Title Title Title Title Title
info info info info info
info info info info info
info info info info info
Each line of 'info' will be read in from a file, but the problem is that the info can vary in length, so there is no way use " " 's to properly align the output so all possible 'info' strings will look good. I know in C++ I could use setW(x) which would help, but I am not aware of anything similiar in Java. Any ideas?
Thanks in advance.public class Test2 {
public static void main(String[] args) {
int[] widths = {12,20,15};
String[] head = {"One","Two","Three"};
String[][] data = {{"My dog","has","fleas"},
{"Your feline","doesn't have any","Ctenocephalides"}
// print titles
for (int i=0; i<head.length; i++) System.out.print(pad(head,widths[i])+" ");
System.out.println();
// print lines
for (int i=0; i<widths.length; i++) {
for (int j=0; j<widths[i]; j++) System.out.print("-");
System.out.print(' ');
System.out.println();
// print data
for (int i=0; i<data.length; i++) {
for (int j=0; j<data[i].length; j++) System.out.print(pad(data[i][j],widths[j])+" ");
System.out.println();
static String pad(String text, int len) {
StringBuffer sb = new StringBuffer(text);
while (sb.length()<len) sb.append(' ');
return sb.toString(); -
JNI: Reading Java output from console window
Hi!
Sorry if this is wrong place to put this topic, but I didn't know where to put it, so now it's here.
I'm trying to make a launcher program with C++ which would start my java program. I'm using "env->CallStaticVoidMethod (romexisClass, mid, args);" and it works perfectly. But I'd like to read the text which my java program outputs to the console window and save it into a text file. Is this possible and how? It looks like I stdout etc. won't work.
Or as other option I could use some Java Exe Wrapper, but I haven't found any which would allow passing arguments to the main() without -D option and I need to be able to read those arguments from a .ini-file. It should be a subtitute for the following command "java -Xss$var1k -Xms$var2m -classpath $var3 test.program host=$var4" in which I'd read $vars from a .ini-file.
Thx,
LassiMaybe this will do the job:
http://cboard.cprogramming.com/archive/index.php/t-86580.html -
Tomcat 4.1.12 - Manager App Configuration & Output to Console on W2K?
Hi
i just upgraded to Tomcat 4.1.12 for Tomcat 4.0.4 in w2k. Not i have to problems (worked before):
- On the new version i can't get the Manager Application running. In the documentation i rad about two ways to install the Manager Application but none of them worked (deploying the manager.xml or installing the manager app in server.xml). Unlike the old tomcat version 4.0.4 in the new version the manager dir is not under webapps but under a new dir called servler/webapps. Any Suggestions?
- Unlike in the Tomcat 4.0.4 version 4.1.12 doesn't output the System.out.println() command to console for all calls of that methode that are in init() methode of the servlet (but in the tomcat logfile the System.out.prinln commands are logged). As soon as the servlet is initialized the System.out.println() is printed to the console again. I read about that tag to redirect the System.out und System.err to the log file and i deactivated that for my servlet but this didn't help. Any suggestions?
Thanks for your help.
JoshI can't remember what i've done excatly, i just remeber that i was wrong and the manager app doesn't have to be installed since it comes in an installed state in the tomcat distribution. Only thing i had to do is to set up a user account with manager or admin priviledge. This can be done somewhere in the conf/ dir if i remember right.
-
Need to hide System.out.println output in console
class Hide{
public void test(){
System.out.println("hai");
public static void main(String[] args){
Hide obj=new Hide();
obj.test();
Output is : hai
But I don't want to display hai. How i can hide this
kindly help me on this........class Hide {
public void test() {
System.out.println("hai");
public static void main(String[] args) {
System.out.println("before");
java.io.PrintStream old_out = System.out;
try {
java.io.PrintStream pw = new java.io.PrintStream("test.txt");
System.setOut(pw);
} catch (java.io.IOException e) {
e.printStackTrace();
Hide obj=new Hide();
obj.test();
System.setOut(old_out);
System.out.println("after");
} -
Sqlplus, how to stop output to console
Hi,
I'm running the script to unload table into the file, and it works fine, myfile.dat getting its data,
I just want to stop rows I'm getting written into console display, anybody knows what option I can use for that?
That's what I haev inside my ksh:
sqlplus username/password@$_SID <<EOF
set colsep ,
set pagesize 0
set trimspool on
set headsep off
set linesize 150
spool /tmp/myfile.dat
SELECT COL1 FROM TABLE1
EOF
Tx
TrentHi,
You can call sqlplus with the -s options to avoid the login banner and prompt.
And use set termout off to keep stuff from displaying.
[edit]
Actually the termout is for script I think.
From command line you can do it that way :$ sqlplus -s scott/tiger << EOF 2>&1> /dev/null
select sysdate from dual;
select table_name from user_tables;
exit
EOFEdited by: Nicosa on Dec 2, 2010 10:47 AM -
Trace statements not outputting to console when running in AIR simulator
I'm using FB 4.7 and the latest AIR SDK beta. When I debug on a device, the console window works properly. I've tried the solution from this thread http://forums.adobe.com/thread/750219?tstart=0 , but it didn't solve the problem. I haven't changed anything about the build configuration. Any ideas?
I have the same question... I've been trying to get an Adobe AIR HTML app going, but there appears to be no IDE that supports debugging an HTML/JS AIR App, and fdb, which is supposed to be able to debug HTML/JS AIR apps, does not.
Is HTML/JS still a supported way of developing Adobe AIR apps? If so, then why aren't issues like this getting some attention?
-Josh -
Sending 'show' command outputs to console/terminal using EEM
Hi Everyone,
I'm new to EEM and was wondering if it would be possible to send 'show' commands (like 'show interface' or 'show crypto ipsec sa') to the terminal/console session after every, let's say, 10 minutes using watchdog timer. I know how to send it to the flash but would like to know if something of this sort is possible.
Any suggestions would be really appreciated!
Regards,
NikhilHi Nithakur,
you can try the "action puts" from EEM
event manager applet SHOWI
event timer watchdog time 600
action 1.0 cli command "enable"
action 2.0 cli command "show int X/Y"
action 3.0 puts "$_cli_result"
for this to work, you would need to have "logging monitor informational" in your run and "terminal monitor" activated. The other option is to use IOS send command
event manager applet SHOWI2
event timer watchdog time 600
action 1.0 cli command "enable"
action 2.0 cli command "show int XY"
action 3.0 set A "$_cli_result"
action 4.0 cli command "send *" pattern "C:"
action 5.0 cli command "$A\032" pattern "confirm"
action 6.0 cli command "yes"
Note that the \032 is an equivalent for CTRL+Z (^Z) so after you configure it, you will see this line as
action 5.0 cli command "$A^Z" pattern "confirm"
in your ruiining config.
Regards,
Alex -
How listening audio output with console digidesign 002
i have conncected the fcp5 with the digidesign 002. I have made all the necessary settings, that provide the connection, through audio/video settings/user preferences etc... Though, when i put something to the canvas, i can listen from the speakers, but the channels of didgidesign don't communicate with the audio channels in fcp.2)when i do log and capture from the cam, the logged footage has sound, but i can't listen to it, when the sound is connected via digidesig. It seems that something is wrong but i don't know what. Does anyone knows?
You have to use the Digi-002 in Standalone mode, as a mixer. Press the standalone button and then select 'Yes'.
I connect the optical audio cable from my G5 into the optical audio in the back of the 002. You'll have to read the manual to make faders 7 and 8 'listen' to the optical port rather than the XLR inputs. And then in System preferences on the MAC, the Audio Out would be Optical Digital-Port out.
The only time I use the 002 in it's regular mode is i) when I'm using Pro Tools, or ii) when I'm using Garageband and using the 002 as my audio input device.
Hope that helps.
Jim -
How to print an output stream on console.
Hi,
I am new to JAVA. I am trying to execute a command in runtime and I want to print the output on console and also redirect the output to a file.
Could anyone please help me?
This is what I wrote :
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("cmd /c ipconfig");I am getting an output stream by : proc.getOutputStream(). I dont know how to print it on console and also how to redirect it to a file.
Could anyone please help me.
Thanks in advance.
BasavYou can do it this way :-
public static void main(String args[]) throws Exception {
ProcessBuilder builder = new ProcessBuilder("ipconfig", "/all");
Process process = builder.start();
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
FileWriter writer = new FileWriter(new File("C:/ipconfig.txt"));
String str;
while ((str = reader.readLine()) != null) {
System.out.println(str);
writer.write(str + System.getProperty("line.separator"));
writer.close();
reader.close();
}Let me know if it works for you. -
Having your program output to a separate console window
I'm looking for a way to run my program(its just a console application)in a separate black console window(similar to Visual Studio). I'm looking on this forum. Someone said to go into Project Properties and hit a radio button that says "send output to console..." but I don't see it.
I'm using JDeveloper 10.1.3.3Andre,
You were completely right. I'm embarassed to say that I outright forgot to add the fwsgood.close(); statement. Wasn't showing up as an error, so I missed it. Thanks for the answer, it really helped me out.
Maybe you are looking for
-
I have an iMac and a macbook pro that I used to be able to share files between but ever since I moved 3 months ago I can't get it to work. Also, now my phone and my wife's phone are inseparably connected. She seems to be getting all of my text mess
-
Calling Interactive Adobe Form from workflow work-item
Hi Experts, Here is the requirement. WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item. When the work-item agent double-click on the work-item he must call the adboe form. Please provid
-
Hi , I created sample user's under Native directory and assigned some groups to them. When i tried to verify their roles from Sample-->(R.C) Provision--> ... i don't see any roles, the roles from right side is blank. But when i login with the sample
-
GRC AC 10 - batch risk analysis does not bring results
Hi all, When I perform a batch RA the job ends quickly and bring no results. It takes like a sec per user. I am running it from rules that became from a Logical group. When I upload the rules to a physical system it brings results. What can
-
Enterprise Services & Managing Quality of Service
Hello, the documents published recently regarding ESA are pretty much aligned with the general idea to follow the idea of SOA. We talk a lot about enterprise level functionality and the reuse of high-level patterns being developed. However there is n